mselect | R Documentation |
Select values from a MAgPIE-object
mselect(x, ..., collapseNames = FALSE)
mselect(x, ...) <- value
x |
MAgPIE object |
... |
entry selections of the form
|
collapseNames |
Boolean which decides whether names should be collapsed or not. |
value |
values on which the selected magpie entries should be set. |
This functions only work for MAgPIE objects with named dimensions as the dimension name (set_name) has to be used to indicate in which dimension the entries should be searched for!
The reduced MAgPIE object containing only the selected entries or the full MAgPIE object in which a selection of entries was manipulated.
mselect(x, ...) <- value
: replace values in magpie object
Jan Philipp Dietrich
collapseNames
, "magpie"
pop <- maxample("pop")
mselect(pop, i = c("AFR", "EUR"), scenario = "A2", t = "y2035")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.