getCells returns cell names of the MAgPIE-object, whereas setCells
returns the MAgPIE object with the manipulated cell names.
Arguments
x, object
MAgPIE object
value, nm
cell names the data should be set to.
Functions
getCells(x) <- value: set cell names
setCells(): set cell names
Author
Jan Philipp Dietrich
Details
setCells is a shortcut to use a MAgPIE object with manipulated cell names.
setCells uses the variable names "object" and "nm" in order to be consistent
to the already existing function setNames.