arrayCV: CV of array

View source: R/arrayCV.R

arrayCVR Documentation

CV of array

Description

arrayCV gets CVs for replicates in 2 or 3 dim array and returns CVs as matrix. This function may be used to calculate CVs from replicate microtiter plates (eg 8x12) where replicates are typically done as multiple plates, ie initial matrixes that are the organized into arrays.

Usage

arrayCV(arr, byDim = 3, silent = TRUE, callFrom = NULL)

Arguments

arr

(3-dim) array of numeric data like where replicates are along one dimesion of the array

byDim

(integer) over which dimension repliates are found

silent

(logical) suppres messages

callFrom

(character) allow easier tracking of message produced

Value

matrix of CV values

See Also

rowCVs, rowGrpCV, replPlateCV

Examples

set.seed(2016); dat1 <- matrix(c(runif(200)+rep(1:10,20)),ncol=10)
head(arrayCV(dat1,byDim=2))

wrMisc documentation built on Jan. 7, 2023, 1:27 a.m.