R/amean.R

Defines functions amean

Documented in amean

# mean of a p times k matrix with samples stored as a p times k times m array

amean = function(ar){
  return(apply(ar, c(1, 2), mean))
}
poworoznek/infinitefactor documentation built on April 7, 2020, 1:10 p.m.