Description Usage Arguments Value Author(s)
Adds a set level of error to binary or quantitative data (the true data) to obtain data with a larger variance (the observed data). The level of error is determined by the misclassification rates in binary exposure and by the set level of variance in the quantitative exposure.
1 2 |
env.data |
a vector of environmental measures that represents the true data. |
env.model |
distribution of the exposure: binary=0 , normal=1 or uniform=2. |
env.prev |
prevalence of the environmental exposure. |
env.error |
misclassification rates: 1-sensitivity and 1-specificity. |
env.reliability |
reliability of the assessment of quantitative exposure. |
a dataframe with two coloumns/variables:
true.environment
the error free exposure data (true
data). observed.environment
the true esposure data
with some added error (observed data).
Amadou Gaye
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.