View source: R/NitrogenBudget.R
NitrogenBudget | R Documentation |
calculates projections of Nitrogen Budgets for Croplands (Tg Nr per) from a MAgPIE gdx file
NitrogenBudget(
gdx,
include_emissions = FALSE,
level = "reg",
dir = ".",
debug = FALSE,
cropTypes = FALSE
)
gdx |
GDX file |
include_emissions |
TRUE also divides the N surplus into different emissions |
level |
aggregation level, reg, glo or regglo, cell, iso or grid |
dir |
for gridded outputs: magpie output directory which contains a mapping file (rds) for disaggregation |
debug |
debug mode TRUE makes some consistency checks between estimates for different resolutions. |
cropTypes |
FALSE for aggregate results; TRUE for crop-specific results |
Benjamin Leon Bodirsky, Michael Crawford, Edna J. Molina Bacca, Florian Humpenoeder
## Not run:
x <- NitrogenBudget(gdx)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.