powered by
Mean1Dim(var, posdim, narm = TRUE, limits = NULL)
a <- array(rnorm(24), dim = c(2, 3, 4)) print(a) print(Mean1Dim(a, 2))
Run the code above in your browser using DataLab