26 Aug 2017
a <- array(1:(2*2*3), c(2,2,3)) perm <- c(2,3,1) b <- aperm(a, perm)
viewed on http://rfunction.com
R
function
array