setNames-methods: Get dataset names

setNames-methodsR Documentation

Get dataset names

Description

Extracts dataset names of a MAgPIE-object

Usage

## S4 method for signature 'magpie'
setNames(object = nm, nm)

Arguments

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.

Details

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.

Methods

list("signature(object = \"ANY\")")

normal setNames method

list("signature(object = \"magpie\")")

setNames for MAgPIE objects

See Also

getNames,


magclass documentation built on May 29, 2024, 6:20 a.m.