rowSEMs {wrMisc} | R Documentation |
SEM for each row
Description
This function 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
This function returns a numeric vector with SEM values
See Also
Examples
set.seed(2016); dat1 <- matrix(c(runif(200)+rep(1:10,20)),ncol=10)
head(rowSEMs(dat1))
[Package wrMisc version 1.15.1 Index]