med.factor.tables: med.factor.tables

Description Usage Arguments Value Note Author(s) See Also

View source: R/ShedsHT.R

Description

Constructs tables of media specific exposure factors for each relevant combination of age, gender, and season, and each of three media specific variables in the ef argument. These are avail.f, dermal.tc, and om.ratio.

Usage

1
med.factor.tables(ef, media.sur)

Arguments

ef

A data set created internally using the run function and the read.exp.factors function to import the user specified Exp_factors input file. The data set contains the distributional parameters for the exposure factors. All of these variables may have age or gender-dependent distributions, although in the absence of data, many are assigned a single distribution from which all persons are sampled.

media.sur

A list of surface media. This data set is created internally by sub-setting the Media input file (read in with the read.media.file function within the run function) to extract only surface media.

Value

exp.med Media specific exposure factors presented as a data table. The present version of the model consists of only 3 such exposure factors, but the code will accept more. Depending on the user input, these generated exposure factors may be gender and/or season specific in addition to media specific. The output consists of 24 rows per variable (2 genders x 4 seasons x 3 media), when all ages share the same distribution. If a variable has N age categories (each with its own distribution) then there are (24 x N) rows for that variable. In addition, if the function runs successfully, the following message is printed: "Media-specific Factor Tables completed"

Note

The first input argument to med.factor.tables (ef) is created by reading in the Exp_factors input file (specified on the Run file) with the read.exp.factors function within the run function. The media.sur input is created by sub-setting the Media input file (read in with the read.media.file function within the run function).

Author(s)

Kristin Isaacs, Graham Glen

See Also

Media, Exp_factors, Run, run, read.exp.factors, read.media.file


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