se: Calculates the standard error of the mean

Usage Arguments Examples

Usage

1
se(x)

Arguments

x

Where x is a vector in R. Currently there are methods for numeric/logical vectors and date, date-time and time interval objects. The function can be vectorized for usage in other functions such as the apply family. Ensure all NA have been removed.

Examples

1
2
3
4
5
## Create some sample data
test <- rnorm(10)

## Calculate error
error <- se(test)

afilazzola/LearnCommAnalysis documentation built on May 27, 2019, 9:55 a.m.