Learn R Programming

rosetta (version 0.3.8)

confIntSD: Confidence interval for standard deviation

Description

This function is vectorized.

Usage

confIntSD(x, n = NULL, conf.level = 0.95)

Arguments

x

Either a standard deviation, in which case n must also be provided, or a vector, in which case n must be NULL.

n

The sample size is x is a standard deviation.

conf.level

The confidence level

Value

A vector or matrix.

Examples

Run this code
# NOT RUN {
rosetta::confIntSD(mtcars$mpg);
rosetta::confIntSD(c(6, 7), c(32, 32));
# }

Run the code above in your browser using DataLab