Description Usage Arguments Examples
Creates information of a vector of multi-normal covariates with the specified array of means and covariance matrix.
This function call must be added to the md.simparams
object.
1 |
names |
vector of covariate names |
means |
vector of means, default is |
cov |
covariance matrix, default is |
1 2 3 4 5 6 7 | ## Not run:
library(missDeaths)
sim = md.simparams() +
md.mvnorm(c("X1", "X2"), c(100, 0), matrix(c(225, 3, 2, 1), 2, 2))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.