Learn R Programming

simTool (version 1.1.5)

meanAndNormCI: A convenient function to calculate the mean and a 95% confidence interval

Description

The 95% confidence interval is based on a normal approximation.

Usage

meanAndNormCI(results)

Arguments

results

a numeric or logical vector

Examples

Run this code
# NOT RUN {
meanAndNormCI(rexp(10^4, rate=2))
# }

Run the code above in your browser using DataLab