View source: R/VegfruitShare.R
VegfruitShare | R Documentation |
Calculates the share of fruits, vegetables and nuts in total food supply from the food demand model
VegfruitShare(
gdx,
file = NULL,
level = "reg",
after_shock = TRUE,
calibrated = TRUE,
attributes = "kcal"
)
gdx |
GDX file |
file |
a file name the output should be written to using write.magpie |
level |
Level of regional aggregation; "iso" ISO country codes, "reg" (regional), "glo" (global) |
after_shock |
FALSE is using the exogenous real income and the prices before a shock, TRUE is using the endogeenous real income that takes into account food price change on real income |
calibrated |
if FALSE, the true regression outputs are used, if TRUE the values calibrated to the start years are used |
attributes |
unit: kilocalories per day ("kcal"), g protein per day ("protein"). Mt reactive nitrogen ("nr"). |
magpie object with the livestock share in a region or country. Unit is dimensionsless, but value depends on chosen attribute
Benjamin Bodirsky
## Not run:
x <- VegfruitShare(gdx)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.