dimExists {magclass} | R Documentation |
Function checks whether a dimension exsist in a MAgPIE objects
dimExists(dim, x, sep = ".")
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 |
Boolean indicating whether dimension exists or not
Jan Philipp Dietrich
pop <- maxample("pop")
dimExists(c("t","scenario","blablub"),pop)