bodyweight | R Documentation |
Calculates the prevalence of underweight, normalweight, overweight (excluding obesity) and obesity. For more detailed body mass classifications see functions population or anthropometrics.
bodyweight(
gdx,
level = "reg",
age = FALSE,
sex = FALSE,
share = FALSE,
dir = ".",
spamfiledirectory = "",
population = NULL
)
gdx |
GDX file |
level |
Level of regional aggregation; "iso" ISO country codes, "reg" (regional), "glo" (global) |
age |
if TRUE, demand is scaled down to age-groups and sex using food requirements |
sex |
if FALSE, female and male are aggregated, if sex, results are divided into males and females |
share |
if TRUE, data is provided by BMI group |
dir |
for gridded outputs: magpie output directory which contains a mapping file (rds) for disaggregation |
spamfiledirectory |
deprecated. please use |
population |
population information from GDX. Can be provided to speed up calculation process. Will be read from GDX, if not provided. |
Demand definitions are equivalent to FAO Food supply categories
MAgPIE object with mio people or share of people in each weight category
Benjamin Leon Bodirsky
## Not run:
x <- bodyweight(gdx)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.