View source: R/data-generation.R
fast_generate_mvn | R Documentation |
A fast way to generate data from multivariate Gaussian distribution
fast_generate_mvn(mean, covariance, num_samples)
mean |
The mean vector of MVN. |
covariance |
The covariance matrix of MVN. |
num_samples |
The number of samples to generate |
A matrix with sum_samples
rows and d = ncol(covariance)
columns, such that each row is drawn i.i.d. from the multivariate normal
specified by the arguments.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.