rmvnorm | R Documentation |
rmvnorm helper function to draw multivariate normal samples
rmvnorm(n = 1, mu, Sigma, seed)
n |
the number of samples. |
mu |
the mean vector. |
Sigma |
a positive-definite symmetric matrix specifying the covariance matrix. |
seed |
optional seed |
Generates samples via the Cholesky decomposition, which is less platform dependent than eigenvalue decomposition.
If n = 1 a vector of the same length as mu, otherwise an n by length(mu) matrix with one sample in each row.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.