View source: R/helpers_simulation.R
rmvn | R Documentation |
Generates random samples from a multivariate normal distribution with a specified covariance structure.
rmvn(n, sigma)
n |
Integer. Number of samples to generate. |
sigma |
Matrix. Covariance matrix that defines the distribution. |
Matrix of dimension n × ncol(sigma)
containing random samples
from the multivariate normal distribution.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.