averageReplicateMatrices: Average a list of Matrices (cell wise)

Description Usage Arguments Value Examples

Description

Average a list of Matrices (cell wise)

Usage

1

Arguments

list

a list of matrices of the same dims

na.rm

should NA be removed before mean.

Value

the average matrix

Examples

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)

cavei/houseOfClipUtility documentation built on May 12, 2019, 5:23 p.m.