complete_magpie {magclass} | R Documentation |
complete_magpie
Description
MAgPIE objects can be incomplete to reduce memory. This function blows up a magpie object to its real dimensions, so you can apply unwrap.
Usage
complete_magpie(x, fill = NA, dim = 3)
Arguments
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 |
Value
The completed MAgPIE object
Author(s)
Jan Philipp Dietrich, Benjamin Bodirsky
See Also
Examples
pop <- maxample("pop")
complete_magpie(pop)
ani <- maxample("animal")
complete_magpie(ani)
[Package magclass version 6.13.2 Index]