Learn R Programming

magclass (version 3.74)

.getDim: getDim

Description

Function which tries to detect the dimension to which the given elems belong

Usage

.getDim(elems, x)

Arguments

elems
A vector of characters containing the elements that should be found in the MAgPIE object
x
MAgPIE object in which elems should be searched for.

Value

See Also

mcalc,dimCode

Examples

Run this code
 data(population_magpie)
 magclass:::.getDim(c("AFR","CPA"),population_magpie)

Run the code above in your browser using DataLab