Description Usage Arguments Details Value Examples
View source: R/confidenceInterval.R
Creates confidence intervals for a single parameter
1 2 3 4 5 | confidenceInterval(x, ...)
## Default S3 method:
confidenceInterval(x, CI, param = NULL, sample = 25,
size = length(x)/2, discrete = FALSE, replace = TRUE, ...)
|
x |
numeric: vector of population values |
... |
further parameters |
CI |
function: computes a confidence interval, see details |
param |
numeric: true parameter from the population if known (default: |
sample |
numeric: number of samples to compute (default: |
size |
numeric: sample sizes to use for the confidence interval computation (default: |
discrete |
logical: if population is discrete (default: |
replace |
logical: draw sample with replacement or not (default: |
...
NULL
1 | ci <- confidenceInterval(runif(100), CI=CI.mean)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.