Side-by-side Slider

Share:

Description

Opens the default web browser with a display of two continuous distributions shown side-by-side and reflected to suggest a closed container. Interactive options control the display of water levels and the choice of the shapes of the underlying distributions.

Usage

1

Arguments

name

Name of distribution to contrast with normal

dists

Named list of (d=density, q=quantile, r=sample) distributions (see make_df_list())

Value

None

Examples

1
2
3
4
5
6
7
8
## Not run: 
side_by_side_slider("Gamma")

dists <- make_df_list()
dists[["uniform"]] <- list(d=dunif, q=qunif, r=runif);
side_by_side_slider("uniform", dists)

## End(Not run)