getRegions: Get regions

Description Usage Arguments Value Author(s) See Also Examples

Description

Extracts regions of a MAgPIE-object

Usage

1
2
getRegions(x)
       getRegions(x) <- value

Arguments

x

MAgPIE object

value

Vector containing the new region names of the MAgPIE objects. If you also want to change the mapping of regions to cell please use getRegionList instead.

Value

Regions of the MAgPIE-object

Author(s)

Jan Philipp Dietrich

See Also

getYears, getNames, getCPR, read.magpie, write.magpie, "magpie"

Examples

1
2
# a <- read.magpie("example.mz")
# getRegions(a)


Search within the magclass package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.