getRegionList: Get a list of celluare region-belongings

View source: R/getRegionList.R

getRegionListR Documentation

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(x) <- value: set region names

Author(s)

Jan Philipp Dietrich

See Also

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

Examples


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

magclass documentation built on July 9, 2023, 7:03 p.m.