View source: R/sample_confidence_interval.R
sample_confidence_interval | R Documentation |
Simulation of Frequentist confidence intervals of the mean of normally-distributed data.
sample_confidence_interval(x, alpha = 0.05, pop_sd = NA)
x |
The sample data |
alpha |
Confidence level |
pop_sd |
Population standard deviation (if known). If this is provided, the interval is based on a z-score rather than a t-value |
sample_confidence_interval(rnorm(100), pop_sd = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.