powered by
MAgPIE objects can be incomplete to reduce memory. This function blows up a magpie object to its real dimensions, so you can apply unwrap.
complete_magpie(x, fill = NA, dim = 3)
The completed MAgPIE object
MAgPIE object which should be completed.
Value that shall be written into the missing entries
dimensions in which the completion should take place (1, 2 and/or 3). For full completion use 1:3
1:3
Jan Philipp Dietrich, Benjamin Bodirsky
add_dimension,clean_magpie
add_dimension
clean_magpie
pop <- maxample("pop") complete_magpie(pop) ani <- maxample("animal") complete_magpie(ani)
Run the code above in your browser using DataLab