Description Usage Arguments Value Examples
A confidence interval for the mean
1 2 3 4 5 |
vector |
A vector with raw data points - either specify this or a mean and then either an sd and n or an se. |
mean |
A mean. |
sd, n |
A standard deviation and sample size; can be specified to compute the standard error. |
se |
The standard error (cna be specified instead of |
conf.level |
The confidence level of the interval. |
x, digits, ... |
Respectively the object to print, the number of digits to
round to, and any additonal arguments to pass on to the |
And object with elements input
, intermediate
, and output
,
where output
holds the result in list ci
.
1 | meanConfInt(mean=5, sd=2, n=20);
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.