View source: R/IntakeDetailed.R
IntakeDetailed | R Documentation |
Calculates detailed or aggregated per-capita kcal intake including exogenous scenarios
IntakeDetailed(
gdx,
file = NULL,
level = "reg",
product_aggr = FALSE,
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 |
product_aggr |
aggregate over products or not (boolean) |
dir |
for gridded outputs: magpie output directory which contains a mapping file (rds) for disaggregation |
spamfiledirectory |
deprecated. please use |
Calculation of kcal food intake is possible for both exogenous diet scenarios and endogenous estimation from food demand model
Calories as MAgPIE object (unit: kcal/cap/day)
Isabelle Weindl
## Not run:
x <- IntakeDetailed(gdx)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.