add.fugs: add.fugs

Description Usage Arguments Details Value Author(s) See Also

View source: R/Fugacity.R

Description

Evaluates the variables in the fugacity input file and creates values for those variables corresponding to each simulated person.

Usage

1
add.fugs(n.per, x, pdmf)

Arguments

n.per

The total number of simulated persons in this model run specified in the Run file

x

the output of the read.fug.inputs function.

pdmf

he output of the add.factors function. A data set containing physiological and demographic parameters for each theoretical person, the duration of exposure to each potential exposure medium for each person, the media specific exposure factors, and the number of baths taken and hand wash events occurring per day for each person.

Details

This function evaluates the variables in the fugacity input file, creating one value for each simulated person and adding each variable as a new column in the pdmf data set (renamed as pdmff). All variables are left i n their original units except for those with units ug/cm2, which are converted to ug/m2. In the fugacity calculations, all masses are in ug and all lengths are in m.

Value

pdmff Output contains values sampled from the distributions of each relevant variable in the Fugacity input file for each theoretical person.

Author(s)

Kristin Isaacs, Graham Glen

See Also

add.factors, add.media, select_people, Fugacity, run


HumanExposure/SHEDSDevel documentation built on Oct. 30, 2019, 6:49 p.m.