sim.env.data | R Documentation |
Generates data for a binary, quantitative-normal, or quantitative-uniform environmental determinant.
sim.env.data(
num.obs = NULL,
env.model = NULL,
env.prev = NULL,
env.mean = NULL,
env.sd = NULL,
env.low.lim = NULL,
env.up.lim = NULL
)
num.obs |
number of observations to simulate. |
env.model |
model of the exposure: binary=0, quantitative-normal=1, quantitative-uniform=2. |
env.prev |
prevalence of the environmental exposure. |
env.mean |
statisitical man under quantitative-normal model. |
env.sd |
standard deviation under quantitative-normal model. |
env.low.lim |
lower limit under quantitative-uniform model. |
env.up.lim |
upper limit under quantitative-uniform model. |
a vector of continuous or binary values.
Gaye A.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.