Learn R Programming

wrMisc (version 1.2.3)

rowSEMs: SEM for each row

Description

rowSEMs speed optimized SEM (standard error of the mean) for each row. The function takes a matrix or data.frame and treats each row as set of data for SEM; NAs are ignored from data. Note: NaN instances will be transformed to NA

Usage

rowSEMs(dat)

Arguments

dat

matrix or data.frame

Value

numeric vector with SEM values

See Also

rowSds, colSds, colSums

Examples

Run this code
# NOT RUN {
set.seed(2016); dat1 <- matrix(c(runif(200)+rep(1:10,20)),ncol=10)
head(rowSEMs(dat1))
# }

Run the code above in your browser using DataLab