View source: R/NitrogenBudgetWithdrawals.R
NitrogenBudgetWithdrawals | R Documentation |
calculates projections of Nitrogen Budgets withdrawals for Croplands from a MAgPIE gdx file
NitrogenBudgetWithdrawals(
gdx,
kcr = "sum",
net = TRUE,
level = "reg",
dir = "."
)
gdx |
GDX file |
kcr |
"sum" provides the totals over all crops, "kcr" provides outputs by kcr |
net |
TRUE only provides total net-withdrawals, otherwise all categories are returned (fixation and seed are returned positive, not negative) |
level |
aggregation level, reg, glo or regglo, cell, grid or iso |
dir |
for gridded outputs: magpie output directory which contains a mapping file (rds) for disaggregation |
Benjamin Leon Bodirsky, Michael Crawford
## Not run:
x <- NitrogenBudgetWithdrawals(gdx)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.