Description Usage Arguments Value Note Author(s) Examples
View source: R/SampDist2Means.R
An app to explore the Central Limit Theorem in the context of the difference of sample means.
1 | SampDist2Means(pop,max.samp.sizes=50,sim.reps=1000)
|
pop |
A data frame representing the population from which samples are taken. |
max.samp.sizes |
Largest sample sizes shown on the sliders. |
sim.reps |
Number of simulation repetitions to construct empirical distribution of difference of sample means. |
Graphical and numerical output.
Uses manipulate
in R Studio. Also requires package lattice
.
Homer White hwhite0@georgetowncollege.edu
1 2 3 4 5 | ## Not run:
data(imagpop)
if (require(manipulate)) SampDist2Means(imagpop)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.