se: Calculate standard error

View source: R/se.R

seR Documentation

Calculate standard error

Description

Calculates standard error based on the standard deviation and number of elements

Usage

se(x, na.rm = FALSE)

Arguments

x

vector of numeric values

na.rm

whether or not to remove NAs, default is FALSE.

Value

Single numeric value of the standard error

Examples

x <- rnorm(10, 1, 1)
se(x)


amorris28/amorris documentation built on Nov. 24, 2022, 6:39 a.m.