mean_se {dipsaus}R Documentation

Calculates mean and standard error of mean

Description

Calculates mean and standard error of mean

Usage

mean_se(x, na.rm = FALSE, se_na_as_zero = na.rm)

Arguments

x

R numerical object

na.rm

whether to remove NA; default is false

se_na_as_zero

see na_as_zero in ste_mean

Value

A named vector containing the mean and standard error of mean (ste_mean).

See Also

ste_mean

Examples


# Mean should be near 0 (mean of standard normal)
# standard error of mean should be near 0.01
mean_se(rnorm(10000))


[Package dipsaus version 0.2.5 Index]