sem: Calculate Standard Error of the Mean

Description Usage Arguments

View source: R/sem.R

Description

Calculate the standard error of the mean (SEM) on a vector of data. Takes input either with or without NA's, and will then take input as to what to do with the NA's in the na.rm option.

Usage

1
2
rSEM <- sem(sample(1:100,50))
rSEM <- sem(c(NA,sample(1:100,50)), na.rm = TRUE)

Arguments

x

Vector with numeric or integer data

na.rm

Remove NA's (TRUE/FALSE)


norment/normentR documentation built on Nov. 11, 2020, 2:16 a.m.