Description Usage Arguments Value Author(s)
Uses the effects data of the determinants to construct a linear predictor(LP). The outcome is normally distributed variable generated with a mean equal to LP and a standard deviation of 1. Some error is then added to the simulated outcome to obtained the observed outcome.
1 2 3 |
num.subjects |
Number of subjects to simulate |
pheno.mean |
statistical mean |
pheno.sd |
standard deviation |
environment1 |
Exposure data for the first determinant |
env1.efkt |
Effects of the first determinant |
environment2 |
Exposure data for the second determinant |
env2.efkt |
Effects of the second determinant |
interaction |
data |
int.efkt |
Interaction effect |
A dataframe of phenotype
Gaye A.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.