View source: R/FoodExpenditureShare.R
FoodExpenditureShare | R Documentation |
Calculates the livestock share from the food demand model
FoodExpenditureShare(
gdx,
level = "reg",
after_shock = TRUE,
products = "kfo",
product_aggr = T
)
gdx |
GDX file |
level |
spatial aggregation. can be "iso","reg","regglo","glo" |
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 |
products |
selected products or sets of products |
product_aggr |
if true, aggregation over products |
magpie object with per capita consumption
Benjamin Leon Bodirsky
## Not run:
x <- FoodExpenditureShare(gdx)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.