httkpop_mc: httk-pop: Correlated human physiological parameter Monte...

View source: R/httkpop_mc.R

httkpop_mcR Documentation

httk-pop: Correlated human physiological parameter Monte Carlo

Description

This is the core function for httk-pop correlated human physiological variability simulation as described by Ring et al. (2017) (\Sexpr[results=rd]{tools:::Rd_expr_doi("10.1016/j.envint.2017.06.004")}). This functions takes the data table of population biometrics (one individual per row) generated by httkpop_generate, and converts it to the corresponding table of HTTK model parameters for a specified HTTK model.

Usage

httkpop_mc(model, samples = 1000, httkpop.dt = NULL, ...)

Arguments

model

One of the HTTK models: "1compartment", "3compartmentss", "3compartment", or "pbtk".

samples

The number of Monte Carlo samples to use (can often think of these as separate individuals)

httkpop.dt

A data table generated by httkpop_generate. This defaults to NULL, in which case httkpop_generate is called to generate this table.

...

Additional arugments passed on to httkpop_generate.

Details

The Monte Carlo methods used here were recently updated and described by Breen et al. (submitted).

Value

A data.table with a row for each individual in the sample and a column for each parater in the model.

Author(s)

Caroline Ring and John Wambaugh

References

\insertRef

ring2017identifyinghttk

\insertRef

breen2022simulatinghttk

\insertRef

rowland1973clearancehttk

Examples


set.seed(42)
indiv_examp <- httkpop_generate(method="d", nsamp=10)

httk_param <- httkpop_mc(httkpop.dt=indiv_examp, 
                        samples=10,
                        model="1compartment")


httk documentation built on June 22, 2024, 6:48 p.m.