arraymean: Array mean

View source: R/facer.R

arraymeanR Documentation

Array mean

Description

computes array mean across the third dimension of an array

Usage

arraymean(A)

Arguments

A

a 3D array

Details

surprisingly faster than using apply because colMeans is fast

Value

a matrix with dimensions equal to the first two dimensions of A


julianfaraway/facer documentation built on Dec. 4, 2023, 9:34 p.m.