Learn R Programming

kim (version 0.6.1)

se_of_mean: Standard error of the mean

Description

Standard error of the mean

Usage

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

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.

Arguments

vector

a numeric vector

na.rm

Deprecated. By default, 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.

Examples

Run this code
se_of_mean(c(1:10, NA))

Run the code above in your browser using DataLab