View source: R/httkpop_direct_resample_inner.R
httkpop_direct_resample_inner | R Documentation |
httkpop_direct_resample
.Inner loop function called by httkpop_direct_resample
.
httkpop_direct_resample_inner(
nsamp,
gendernum,
agelim_months,
agelim_years,
reths,
weight_category,
gfr_resid_var,
ckd_epi_race_coeff,
nhanes_mec_svy
)
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. |
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 |
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 |
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 |
gfr_resid_var |
Logical value indicating whether or not to include residual variability when generating GFR values. (Default is TRUE, passed from 'httkpop_direct_resample'.) |
ckd_epi_race_coeff |
Logical value indicating whether or not to use the "race coefficient" from the CKD-EPI equation when estimating GFR values. (Default is FALSE, passed from 'httkpop_direct_resample'.) |
nhanes_mec_svy |
|
A data.table where each row represents an individual, and each column represents a demographic, anthropometric, or physiological parameter.
Caroline Ring
ring2017identifyinghttk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.