amean: Average over the third index of an array

Description Usage Arguments Value Author(s) See Also Examples

View source: R/amean.R

Description

Convenience function to compute matrix sample means when samples are stored as a 3rd order array. Sampling index should be the third mode.

Usage

1

Arguments

ar

a 3rd order array

Value

matrix of dimension dim(ar)[-3]

Author(s)

Evan Poworoznek

See Also

lmean

Examples

1
2
ar = array(rnorm(10000), dim = c(10, 10, 100))
amean(ar)

infinitefactor documentation built on April 3, 2020, 5:09 p.m.