se {inTextSummaryTable}R 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))

[Package inTextSummaryTable version 3.3.2 Index]