Description Usage Arguments Value Author(s)
Generates affected and non-affected subjects.
1 2 | sim.pheno.bin.E(num.obs = 10000, disease.prev = 0.1, environment = NULL,
subject.effect.data = NULL, env.OR = 1.5)
|
num.obs |
number of observations to generate per iteration. |
disease.prev |
prevalence of the binary outcome. |
environment |
environmental exposure data. |
subject.effect.data |
subject effect data, reflects the heterogenity in baseline disease risk. |
env.OR |
odds ratios related to the exposure. |
a vector binary vector, the phenotype data.
Gaye A.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.