View source: R/reportYieldShifter.R
reportYieldShifter | R Documentation |
Reports the Crop model input yield shifter
reportYieldShifter(
gdx,
file = NULL,
level = "reg",
baseyear = "y2000",
relative = TRUE,
dir = ".",
spamfiledirectory = ""
)
gdx |
GDX file |
file |
a file name the output should be written to using write.magpie |
level |
Level of regional aggregation; "reg" (regional), "glo" (global), "regglo" (regional and global) or any other aggregation level defined in superAggregate |
baseyear |
baseyear for the yield shifter. Also fixes land patterns for aggregation to baseyear. |
relative |
relative or absolute changes to baseyear |
dir |
for gridded outputs: magpie output directory which contains a mapping file (rds) for disaggregation |
spamfiledirectory |
deprecated. please use |
crop yield as MAgPIE object (unit depends on attributes)
Benjamin Leon Bodirsky
reportYieldShifter
## Not run:
x <- reportYieldShifter(gdx)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.