Description Usage Arguments Value
genmod3
generates data from a simple linear generative model
with some nonnormal covariates for simulation experiments.
1 |
n |
Sample size. |
mu |
A parameter giving the mean (times plus or minus one). |
beta |
A vector of parameters with length equal to the number of covariates. |
variance |
The variance of the error term. |
q |
A parameter to control the proportion that is diseased. |
A list with the following components: A
, a vector of class labels; and
X
, a matrix of covariates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.