.getAmean2 {wrMisc}R Documentation

Get A value for each group of replicates based on comp

Description

This function calculates the 'A' value (ie group mean) for each group of replicates (eg for MA-plot) comp is matrix telling which groups to use/compare, assuming that dat are already group-means)

Usage

.getAmean2(dat, comp)

Arguments

dat

(matrix or data.frame) main input

comp

(matrix) tells which groups to use/compare, assuming that dat are already group-means)

Value

This function returns a numeric vector

See Also

makeMAList

Examples

.getAmean(matrix(11:18, ncol=4), gl(2,2))

[Package wrMisc version 1.15.1 Index]