ncells {magclass} | R Documentation |
Functions to count the number of cells/years/datasets/regions of an MAgPIE-object
ncells(x)
ndata(x)
nregions(x)
nyears(x)
x |
A MAgPIE-object |
value |
The number of cells/years/datasets/regions of |
ndata()
: count datasets
nregions()
: count regions
nyears()
: count years
Jan Philipp Dietrich
a <- is.magpie(NULL)
ncells(a)
nyears(a)
ndata(a)
nregions(a)