powered by
Function which tries to detect the dimension to which the given elems belong
getDim(elems, x)
A vector of characters containing the elements that should be found in the MAgPIE object
MAgPIE object in which elems should be searched for.
The name of the dimension in which elems were found.
mcalc,dimCode
mcalc
dimCode
# NOT RUN { data(population_magpie) magclass:::getDim(c("AFR","CPA"),population_magpie) # }
Run the code above in your browser using DataLab