powered by
Convenience function to compute matrix sample means when samples are stored as a 3rd order array. Sampling index should be the third mode.
amean(ar)
a 3rd order array
matrix of dimension dim(ar)[-3]
lmean
# NOT RUN { ar = array(rnorm(10000), dim = c(10, 10, 100)) amean(ar) # }
Run the code above in your browser using DataLab