Description Usage Arguments Details Value Author(s) See Also
For each theoretical person parameterized in the pd
data frame, which is output from the select.people
function, this function generates the exposure duration for each potential exposure medium.
1 | add.media(n, media, pd)
|
n |
Number of persons. |
media |
List of the potential contact media for the model; output of the |
pd |
Data frame containing internally assigned demographic and physiological parameters for each theoretical person
modeled in SHEDS.HT. Output of the |
To generate the exposure duration for each theoretical person, an array q of uniform random samples is generated with
rows = n
(per set, where set size is specified by the user in the Run
input file) and columns =
nrow(media)
(the number of potential exposure media). An array called dur
is created for the number of minutes on
the activity diary in the relevant micro multiplied by the relevant probability of contact (as specified in the
media
input). The array consists of a row for each person and a column for each of the exposure media. The output is a
data table containing the pd
data frame and the dur
array.
pdm A data table containing the pd
data frame of physiological and demographic parameters for each theoretical
person, and the dur
array, which specifies the duration of exposure to each potential exposure medium for each person
in pd
.
Kristin Isaacs, Graham Glen
select.people
, read.media.file
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.