fast_rmvnorm | R Documentation |
Generate multivariate Normal draws. The function does not check the arguments, use at your own risk.
fast_rmvnorm(n, mean, covariance)
n |
An integer >= 1 specifying the desired number of draws |
mean |
A vector of size d specifying the mean vector of the multivariate Normal |
covariance |
A matrix of size d x d specifying the covariance matrix of the multivariate Normal |
A matrix of size n x d containing n d-dimensional multivariate Normal draws (one per row)
fast_rmvnorm(2, rep(0, 5), diag(1, 5, 5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.