rmvnorm {fitmixst4} | R Documentation |
Generates random observations for the normal distribution
rmvnorm(n, mean = rep(0, nrow(sigma)), sigma = diag(length(mean)), method = c("eigen", "svd", "chol"))
n |
number of random observations. |
mean |
a mean vector with length p. |
sigma |
a covariance matrix of dimension pxp. |
method |
used for inverse (eigen, svd, chol). |
gernerates random observations for the normal distribution.