dot-rowGrpSds: row group sd (main)

.rowGrpSdsR Documentation

row group sd (main)

Description

This function calculates sd for matrix with multiple groups of data, ie one sd for each group of data.

Usage

.rowGrpSds(x, grp)

Arguments

x

numeric matrix where relplicates are organized into separate columns

grp

(factor) defining which columns should be grouped (considered as replicates)

Value

This function returns a matrix of sd values per row and group of replicates

See Also

rowGrpCV, rowCVs, arrayCV, replPlateCV

Examples

set.seed(2016); dat1 <- matrix(c(runif(200)+rep(1:10,20)),ncol=10)
grp1 <- gl(4,3,labels=LETTERS[1:4])[2:11]
head(.rowGrpSds(dat1, grp1))

wrMisc documentation built on Nov. 17, 2023, 5:09 p.m.