se_of_mean: Standard error of the mean

View source: R/se_of_mean.R

se_of_meanR Documentation

Standard error of the mean

Description

Standard error of the mean

Usage

se_of_mean(vector, na.rm = TRUE, notify_na_count = NULL)

Arguments

vector

a numeric vector

na.rm

if TRUE, NA values will be removed before calculation

notify_na_count

if TRUE, notify how many observations were removed due to missing values. By default, NA count will be printed only if there are any NA values.

Value

the output will be a numeric vector of length one, which will be the standard error of the mean for the given numeric vector.

Examples

se_of_mean(c(1:10, NA))

kim documentation built on Oct. 9, 2023, 5:08 p.m.