Learn R Programming

inTextSummaryTable (version 3.3.2)

se: Compute standard error of the mean.

Description

The standard error of the mean is computed as: \(\frac{\sigma(x)}{\sqrt{length(x)}}\), with:
\(\sigma(x)\): standard deviation of x

Usage

se(x, na.rm = FALSE)

Value

Numeric vector with standard error of the mean

Arguments

x

Numeric vector.

na.rm

Logical, should NA value(s) be removed (FALSE by default)?

Author

Laure Cougnaud

See Also

Other stats utility functions: cv(), geomCV(), geomMean(), geomSD(), geomSE()

Examples

Run this code
se(rnorm(1000))

Run the code above in your browser using DataLab