View source: R/BayesGLM2_Bayes_utils.R
cholQsample | R Documentation |
Sample from the multivariate normal distribution with Cholesky(Q)
cholQsample(n, mu, cholQ)
n |
number of samples |
mu |
mean vector |
cholQ |
Cholesky decomposition of the precision (found via |
An n \times p
matrix of samples from the MVN distribution,
where p
is the length of mu
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.