Extracts dataset names of a MAgPIE-object
# S4 method for magpie
setNames(object = nm, nm)
MAgPIE object
a vector of names current names should be replaced with. If only one data element exists you can also set the name to NULL.
normal setNames method
setNames for MAgPIE objects
setNames is a shortcut to use a MAgPIE object with manipulated data names. The setNames method uses the variable names "object" and "nm" in order to be consistent to the already existing function setNames.