arrayCV: CV Rows In Array

View source: R/arrayCV.R

arrayCVR Documentation

CV Rows In Array

Description

This function 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, debug = FALSE, callFrom = NULL)

Arguments

arr

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

byDim

(integer) over which dimension repliates are found

silent

(logical) suppress messages

debug

(logical) additional messages for debugging

callFrom

(character) allows easier tracking of messages produced

Value

This function returns a 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 Nov. 18, 2026, 5:06 p.m.