magclass (version 6.13.2)

getRegionList: Get a list of celluare region-belongings

Description

Extracts a vector containing the region of each cell of a MAgPIE-object

Usage

getRegionList(x)

getRegionList(x) <- value

Value

A vector with ncell elements containing the region of each cell.

Arguments

x

MAgPIE object

value

A vector with ncell elements containing the regions of each cell.

Functions

  • getRegionList(x) <- value: set region names

Author

Jan Philipp Dietrich

See Also

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

Examples

Run this code

# a <- read.magpie("example.mz")
# getRegionList(a)

Run the code above in your browser using DataLab