WastewaterDose: Dose of Wastewater

Description Usage Arguments Details Value

View source: R/WastewaterDose.R

Description

Calculate how much wastewater a swimmer is exposed to based on a single indicator concentration value. Water dose is from "Water ingestion during swimming activities in a pool: a pilot study", lognormal distribution with a mean of 2.92 and a standard deviation of 1.43 (Dufor et al. 2006).

Usage

1
2
WastewaterDose(indic_enviro_conc, indic_sewage_dist = "lunif", i_alpha,
  i_beta, seed = 123, count = 10000)

Arguments

indic_enviro_conc

The concentration of the indicator in environmental waters-the dependent variable in log10 Copies/L

indic_sewage_dist

Which distribution, log uniform: 'lunif' or log normal: 'lnorm' the indicator concentration in sewage follows.

i_alpha

First value for distrubution, if lunif, alpha is the min concentration, for lnorm it is the alpha value.

i_beta

Second value for distribution, if lunif, beta is the max concentration, for lnorm it is the beta value.

seed

Optional paramter. Sets the seed of R's random number generator, which is useful for creating simulations that can be reproduced. Default is 123

count

Optional parameter. How many Monte Carlo samplings. Default is 10,000

Details

This function calculates how much wastewater a swimmer is exposed to based on a single indicator concentration value

Value

Wastewater dose, WWdose, in Liters. Vector contains count number of samplings.


kcrank1/QMRAswim documentation built on Aug. 1, 2020, 5:07 a.m.