st_err: Calculate the standard error The 'st_err' function calculates...

View source: R/st_err.R

st_errR Documentation

Calculate the standard error The st_err function calculates the standard error of a variable, taking into account NA values, either to keep or remove them depending on the user input to the na_rm argument.

Description

Calculate the standard error The st_err function calculates the standard error of a variable, taking into account NA values, either to keep or remove them depending on the user input to the na_rm argument.

Usage

st_err(x, na_rm = FALSE)

Arguments

x

A numeric vector for which the standard error will be calculated from.

na_rm

If NA values are not an issue, then FALSE, otherwise, TRUE.

Examples

x <- rnorm(10, 5, 0.25)
st_err(x)

mike-decarlo/augmentR documentation built on March 17, 2023, 11:05 a.m.