View source: R/sampling_plot.R
plot_sampling | R Documentation |
Plot distribution of a population, samples drawn from the population, given sampling statistic.
plot_sampling()
population |
A |
sample_size |
The size of each sample to draw from the population |
theta |
The |
A list
containing the population data, sample statistics, and other information of interest
## Not run: plot_sampling(rnorm(100000), sample_size = 100, reps = 50, theta = median) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.