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 Sept. 12, 2023, 5:06 p.m.