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))
}

Try the infinitefactor package in your browser

Any scripts or data that you put into this service are public.

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