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 Nov. 3, 2024, 10:02 a.m.