Compute standard error of the mean of x.
se(x, na.rm = FALSE) seM(x, na.rm = FALSE)
x | Object to compute SEMs for. Can be vector, matrix or data.frame. |
---|---|
na.rm | Specify how to handle missing values. |
Standard error of the mean for x, or each column of x.
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.
David Braze davebraze@gmail.com