rmvnorm_prec | R Documentation |
This function provides a random number generator for
the multivariate normal distribution with mean equal
to mean
and sparse precision matrix Q
.
rmvnorm_prec(Q, n = 1, mean = rep(0, nrow(Q)))
Q |
sparse precision (inverse-covariance) matrix. |
n |
number of observations. |
mean |
mean vector. |
a matrix with dimension length(mean)
by
n
, containing realized draws from the specified
mean and precision
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.