powered by
Function adds a name dimension as dimension number "dim" with the name "add" with an empty data column with the name "nm".
add_dimension(x, dim = 3.1, add = "new", nm = "dummy")
MAgPIE object which should be extended.
The dimension number of the new dimension. 4 stands for the second name dimension.
The name of the new dimension
The name of the first entry in dimension "add".
The extended MAgPIE object
add_columns,mbind
add_columns
mbind
# NOT RUN { a <- add_dimension(maxample("pop")) str(a) fulldim(a) # }
Run the code above in your browser using DataLab