powered by
Functions to count the number of cells/years/datasets/regions of an MAgPIE-object
ncells(x)ndata(x)nregions(x)nyears(x)
ndata(x)
nregions(x)
nyears(x)
The number of cells/years/datasets/regions of x
x
A MAgPIE-object
ndata(): count datasets
ndata()
nregions(): count regions
nregions()
nyears(): count years
nyears()
Jan Philipp Dietrich
a <- is.magpie(NULL) ncells(a) nyears(a) ndata(a) nregions(a)
Run the code above in your browser using DataLab