Generate ages, heights, and weights for a virtual population using the virtual-individuals method.
Generate ages, heights, and weights for a virtual population using the virtual-individuals method.
gen_age_height_weight( nsamp = NULL, gendernum = NULL, reths, weight_category, agelim_years, agelim_months )
nsamp |
The desired number of individuals in the virtual population.
|
gendernum |
Optional: A named list giving the numbers of male and female
individuals to include in the population, e.g. |
reths |
Optional: a character vector giving the races/ethnicities to
include in the population. Default is |
weight_category |
Optional: The weight categories to include in the
population. Default is |
agelim_years |
Optional: A two-element numeric vector giving the minimum
and maximum ages (in years) to include in the population. Default is
c(0,79). If |
agelim_months |
Optional: A two-element numeric vector giving the minimum
and maximum ages (in months) to include in the population. Default is c(0,
959), equivalent to the default |
A data.table containing variables
genderGender of each virtual individual
rethRace/ethnicity of each virtual individual
age_monthsAge in months of each virtual individual
age_yearsAge in years of each virtual individual
weightBody weight in kg of each virtual individual
heightHeight in cm of each virtual individual
Caroline Ring
Ring, Caroline L., et al. "Identifying populations sensitive to environmental chemicals by simulating toxicokinetic variability." Environment International 106 (2017): 105-118
importFrom survey svymean
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.