std_error: Find the standard error of the sampling distribution of a...

Description Usage Arguments Value

Description

Finds the standard error of a numeric vector (i.e., the standard deviation divided by the square root of the sample size); by default, removes NAs prior to calculation.

Usage

1
std_error(x, na.rm = TRUE)

Arguments

x

The numeric vector whose standard error should be calculated.

na.rm

Logical; TRUE indicates that NAs should be removed from the vector prior to calculating the standard error, and vice versa for FALSE.

Value

A one-element numeric vector giving the standard error.


andymckenzie/bayesbio documentation built on June 13, 2019, 7:01 p.m.