Description Usage Arguments Value
Sample from a multivariate normal distribution based on Cholesky decomposition. Modified based on rmvnorm mixtools
1 | rmvnorm_chol(n, mu = NULL, sigma = NULL)
|
n |
Number of vectors to simulate. |
mu |
Mean vector. |
sigma |
Covariance matrix, assumed symmetric and nonnegative definite. |
A n*p matrix. Each row is a multivariate normal vector generated independently based on the input parameters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.