The statsapps R package features interactive
Shiny apps to help you learn concepts from data science
& statistics.
The apps run locally and use visualization, simulation, and repeated sampling to illustrate topics such as probability distributions, permutation tests, analysis of variance, linear regression, and sums of squares.
You can install the development version of statsapps
from this GitHub repo
with:
# install.packages("pak")
pak::pak("vbaliga/statsapps")All apps can be started via functions from statsapps.
Each app can be started using a function that begins with
run_. For example, use run_permutation_app()
to start the Shiny app for the Permutation Test. This will open a new
window in your default web browser with the Shiny app.
library(statsapps)
run_permutation_app()The example we showcase here is the Permutation Test app,
demonstrates how repeated random reassignment of observations can be
used to build a null distribution for a two-sample permutation test. As
with all statsapps, this app is interactive and allows you
to see the results of individual permutations, and how the result of
each permutation incrementally builds the null distribution.
There are several tabs within the main window of the app. The first two tabs provide an explanation and the original data. The third tab shows the results of performing permutations. The buttons in the left sidebar allow you to perform permutations and visualize the outcome of the most recent permutation.

Feedback on bugs, improvements, and/or feature requests are all welcome. Please see the Issues section on GitHub to make a bug fix request or feature request.
TBD
See LICENSE file (MIT)
🐢