mvrnormArma | R Documentation |
Produces samples from the specified multivariate Gaussian distribution
mvrnormArma(N, mu, Sigma)
N |
the number of samples required |
mu |
a vector of mean values |
Sigma |
positive-definite symmetric matrix specifying the covariance of variables |
samples from a multivariate Gaussian distribution
samples <- mvrnormArma(N = 10000, mu = c(0, 0), Sigma = diag(2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.