View source: R/sample_ci_plot.R
plot_sample_ci | R Documentation |
Visualize the confidence intervals of samples drawn from a population.
plot_sample_ci()
num_samples |
Number of the samples to draw from the population. |
sample_size |
Size of each sample drawn from the population. |
pop_size |
Size of the overall population to simulate. |
distr_func |
Random data generation function to simulate the population
data (e.g., |
... |
Parameters to pass to the |
## Not run: plot_sample_ci(sample_size=300, distr_func=rnorm, mean=50, sd=10) plot_sample_ci(sample_size=300, distr_func=runif, min=17, max=35) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.