Learn R Programming

wrMisc (version 1.15.3.1)

.getAmean: Get A value for each group of replicates

Description

This function calculates the 'A' value (ie group mean) for each group of replicates (eg for MA-plot)

Usage

.getAmean(dat, grp)

Value

This function returns a numeric vector

Arguments

dat

(matrix or data.frame) main input

grp

(factor) grouping of replicates

See Also

makeMAList

Examples

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

Run the code above in your browser using DataLab