magclass (version 4.107.0)

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.

Functions

  • getRegionList<-: set region names

See Also

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

Examples

Run this code
# NOT RUN {
# a <- read.magpie("example.mz")
# getRegionList(a)

# }

Run the code above in your browser using DataCamp Workspace