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) (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

Ring, Caroline L., et al. "Identifying populations sensitive to environmental chemicals by simulating toxicokinetic variability." Environment International 106 (2017): 105-118

Rowland, Malcolm, Leslie Z. Benet, and Garry G. Graham. "Clearance concepts in pharmacokinetics." Journal of Pharmacokinetics and Biopharmaceutics 1.2 (1973): 123-136.

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 March 7, 2023, 7:26 p.m.