se: Compute standard error of the mean.

View source: R/stats-utility.R

seR Documentation

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)

Arguments

x

Numeric vector.

na.rm

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

Value

Numeric vector with standard error of the mean

Author(s)

Laure Cougnaud

See Also

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

Examples

se(rnorm(1000))

inTextSummaryTable documentation built on June 22, 2024, 9:24 a.m.