These wrapper functions compute the standard error (SE) or the confidence
interval (CI) of the values in x
. If na.rm
is TRUE
,
missing values are removed before the computation proceeds.
se(x, na.rm = FALSE)CI(x, level = 0.95, na.rm = FALSE)
a numeric vector or an R object which is coercible to one by
as.vector(x, "numeric")
.
logical. Should missing values be removed?
the confidence level required.
Zacharias Steinmetz
sd()
for the standard deviation.