Learn R Programming

rosetta (version 0.3.12)

confIntSD: Confidence interval for standard deviation

Description

This function is vectorized.

Usage

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

Value

A vector or matrix.

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

Examples

Run this code
rosetta::confIntSD(mtcars$mpg);
rosetta::confIntSD(c(6, 7), c(32, 32));

Run the code above in your browser using DataLab