magclass (version 4.107.0)

unwrap: Unwrap

Description

Reconstruct the full dimensionality of a MAgPIE object

Usage

unwrap(x, sep = ".")

Arguments

x

A MAgPIE object

sep

A character separating joined dimension names

Value

An array with the full dimensionality of the original data

See Also

wrap,fulldim

Examples

Run this code
# NOT RUN {
  a <- as.magpie(array(1:6,c(3,2),list(c("bla","blub","ble"),c("up","down"))))
  fulldim(a)
  unwrap(a)

# }

Run the code above in your browser using DataLab