mean.list: Mean matrix

Description Usage Arguments Details Value Note Author(s) See Also Examples

View source: R/mean.list.R

Description

Calculates mean matrix from a list of matrices

Usage

1
2
## S3 method for class 'list'
mean(x, ...)

Arguments

x

A list of two or more matrices

...

Additional arguments passed to rowMeans

Details

Returns the mean matrix from a list of matrices using a combination of unlist and rowMeans. See example for details.

Value

The mean matrix

Note

S3 method for the mean of a list of matrices

Author(s)

Chris Stubben

See Also

var2

Examples

1
2
3
4

popbio documentation built on March 26, 2020, 8:44 p.m.