Learn R Programming

magclass (version 6.13.2)

dimExists: dimExists

Description

Function checks whether a dimension exsist in a MAgPIE objects

Usage

dimExists(dim, x, sep = ".")

Value

Boolean indicating whether dimension exists or not

Arguments

dim

A vector of dimension numbers or dimension names which should be checked for

x

MAgPIE object in which the dimensions should be searched for.

sep

A character separating joined dimension names

Author

Jan Philipp Dietrich

See Also

dimCode

Examples

Run this code

pop <- maxample("pop")
dimExists(c("t","scenario","blablub"),pop)

Run the code above in your browser using DataLab