Description Usage Arguments Details Value
View source: R/WastewaterDose.R
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).
1 2 | WastewaterDose(indic_enviro_conc, indic_sewage_dist = "lunif", i_alpha,
i_beta, seed = 123, count = 10000)
|
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: |
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 |
This function calculates how much wastewater a swimmer is exposed to based on a single indicator concentration value
Wastewater dose, WWdose
, in Liters. Vector contains count
number of samplings.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.