powered by
Changes the order of the 3rd dimension in a magpie object similar to unwrapping and applying the aperm command, but more efficient.
dimOrder(x, perm)
magpie object
vector with the new order of the 3rd dimension
# NOT RUN { # } # NOT RUN { data("population_magpie") x<-setNames(population_magpie,c("kj","kej"))*population_magpie dimOrder(x=x,perm=c(2,1)) # }
Run the code above in your browser using DataLab