ncells {magclass} | R Documentation |
Count elements
Description
Functions to count the number of cells/years/datasets/regions of an MAgPIE-object
Usage
ncells(x)
ndata(x)
nregions(x)
nyears(x)
Arguments
x |
A MAgPIE-object |
Value
value |
The number of cells/years/datasets/regions of |
Functions
-
ndata()
: count datasets -
nregions()
: count regions -
nyears()
: count years
Author(s)
Jan Philipp Dietrich
Examples
a <- is.magpie(NULL)
ncells(a)
nyears(a)
ndata(a)
nregions(a)
[Package magclass version 6.13.2 Index]