rmvnorm2 | R Documentation |
See McElreaths Rethinking package for details
rmvnorm2(
n,
Mu = rep(0, length(sigma)),
sigma = rep(1, length(Mu)),
Rho = diag(length(Mu)),
method = "chol"
)
n |
Number of samples |
Mu |
Mean vector |
sigma |
variance vector |
Rho |
Correlation matrix |
method |
See details in Rethinking. |
MV normal samples
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.