se: Standard Error Of The Mean.

View source: R/se.R

seR Documentation

Standard Error Of The Mean.

Description

Compute standard error of the mean of x.

Usage

se(x, na.rm = FALSE)

seM(x, na.rm = FALSE)

Arguments

x

Object to compute SEMs for. Can be vector, matrix or data.frame.

na.rm

Specify how to handle missing values.

Details

Returns the standard error of the mean of x, which can be either a vector, matrix or data.frame. In the latter two cases, SEM is computed column-wise and a vector of values is returned. When x is a vector, a single value is returned.

Value

Standard error of the mean for x, or each column of x.

Author(s)

David Braze davebraze@gmail.com


davebraze/FDButils documentation built on Feb. 24, 2023, 12:14 a.m.