Learn R Programming

magclass (version 3.74)

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

Arguments

x
MAgPIE object
value
A vector with ncell elements containing the regions of each cell.

Value

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

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