R/SE.R
SE.Rd
Calcualtes standard error
SE(x, NA.val = "NA")
numeric value
the value to exclude, default is 'NA'
Calculates standard error (sd()/sqrt(n)).
set.seed(123) example=c(rnorm(12),NA,NA,NA) SE(example);#should return 0.2671171 #> [1] 0.2671171