se: Standard Error of the Mean

Description Usage Arguments Value Author(s) See Also Examples

Description

se calculates the standard error of the mean of a vector.

Usage

1
se(x)

Arguments

x

a vector of numeric values

Value

A single numeric value of the standard error of the mean

Author(s)

Kevin M. Middleton (kmm@csusb.edu)

See Also

mean for the mean of a vector sd for the standard deviation of a vector

Examples

1
2
3
4
5
6
7
8
set.seed(2)
n <- 10
y <- rnorm(n)

sd(y)
sd(y)/sqrt(n)

se(y)

abd documentation built on May 2, 2019, 4:46 p.m.