View source: R/IntakeDetailedProtein.R
IntakeDetailedProtein | R Documentation |
Calculates food-specific per-capita protein intake from magpie results in grams.
IntakeDetailedProtein(
gdx,
file = NULL,
level = "reg",
product_aggr = FALSE,
dir = "."
)
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 |
Protein intake as MAgPIE object (unit: grams/cap/day)
Vartika Singh, Isabelle Weindl
## Not run:
x <- IntakeDetailedProtein(gdx)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.