Functions to count the number of cells/years/datasets/regions of an
MAgPIE-object
Usage
ncells(x)
ndata(x, fulldim = FALSE)
nregions(x)
nyears(x)
Arguments
x
A MAgPIE-object
fulldim
specifies, how the object is treated. In case of FALSE, it is
assumed that x is 3 dimensional and dimnames(x)[[3]] is returned. In case of
TRUE, the dimnames of the real third dimension namesare returned