powered by
"apply"(X, MARGIN, FUN, ...)
img <- makeImage(c(4,4,4), rnorm(4*4*4)) img2 <- apply.antsImage(img, c(1,2), mean)
Run the code above in your browser using DataLab