Extract items of a given (sub-)dimension of a MAgPIE-object
Usage
getItems(x, dim, split = FALSE)
Arguments
x
MAgPIE object
dim
Dimension for which the items should be returned. Either number or
name of dimension. See dimCode for more details.
split
Boolean which determines whether a main dimension should be split in subdimensions.
Only applicable to main dimensions (1,2,3) and ignored for all other.
Value
items of the requested dimension in the MAgPIE-object. If split=TRUE and applied to a
main dimension (1,2,3) a list of items for each sub-dimension.