SE: Calcualtes standard error

View source: R/SE.R

SER Documentation

Calcualtes standard error

Description

Calcualtes standard error

Usage

SE(x, NA.val = "NA")

Arguments

x

numeric value

NA.val

the value to exclude, default is 'NA'

Value

Calculates standard error (sd()/sqrt(n)).

Examples

set.seed(123)
example=c(rnorm(12),NA,NA,NA)
SE(example);#should return 0.2671171


SwampThingPaul/AnalystHelper documentation built on July 11, 2024, 5:21 a.m.