setNames-methods | R Documentation |
Extracts dataset names of a MAgPIE-object
## S4 method for signature 'magpie'
setNames(object = nm, nm)
object |
MAgPIE object |
nm |
a vector of names current names should be replaced with. If only one data element exists you can also set the name to NULL. |
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.
normal setNames method
setNames for MAgPIE objects
getNames
,
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.