amean {infinitefactor}R Documentation

Average over the third index of an array

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

amean(ar)

Arguments

ar

a 3rd order array

Value

matrix of dimension dim(ar)[-3]

Author(s)

Evan Poworoznek

See Also

lmean

Examples

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

[Package infinitefactor version 1.0 Index]