View source: R/complete_magpie.R
complete_magpie | R Documentation |
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)
x |
MAgPIE object which should be completed. |
fill |
Value that shall be written into the missing entries |
dim |
dimensions in which the completion should take place (1, 2 and/or 3). For
full completion use |
The completed MAgPIE object
Jan Philipp Dietrich, Benjamin Bodirsky
add_dimension
,clean_magpie
pop <- maxample("pop")
complete_magpie(pop)
ani <- maxample("animal")
complete_magpie(ani)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.