Permutes the dimensions of a magpie object and returns a plain array. Since the magpie class has fixed dimension semantics (spatial, temporal, data), permuting the main dimensions produces an object that is no longer a valid magpie. This method therefore always returns a plain array.
Usage
# S3 method for class 'magpie'
aperm(a, perm = NULL, ...)Details
Use dimOrder to reorder sub-dimensions within a single main
dimension while preserving the magpie class.
See also
Other DimensionManipulation:
addDim(),
add_columns(),
collapseDim(),
collapseNames(),
dimCode(),
dimOrder(),
dimReduce()