.getAmean2 | R Documentation |
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)
.getAmean2(dat, comp)
dat |
(matrix or data.frame) main input |
comp |
(matrix) tells which groups to use/compare, assuming that dat are already group-means) |
This function returns a numeric vector
makeMAList
.getAmean(matrix(11:18, ncol=4), gl(2,2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.