Description Usage Arguments Value Examples
Average a list of Matrices (cell wise)
1 | averageReplicateMatrices(list, na.rm = FALSE)
|
list |
a list of matrices of the same dims |
na.rm |
should NA be removed before mean. |
the average matrix
1 2 3 4 5 | a <- matrix(1:6, 3,2)
b <- matrix(1:6+3, 3,2)
averageReplicateMatrices(list(a,b), na.rm=TRUE)
a[1,1] <- NA
averageReplicateMatrices(list(a,b), na.rm=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.