create_block_cMVN_sampler | R Documentation |
Set up a a function for direct sampling from a constrained multivariate normal distribution
create_block_cMVN_sampler(
mbs,
X,
Q,
R = NULL,
r = NULL,
sampler,
name = "x",
chol.control
)
mbs |
block component containing several model components. |
X |
design matrix. |
Q |
precision matrix. |
R |
equality restriction matrix. |
r |
rhs vector for equality constraints |
sampler |
sampler object as created by |
name |
name of the cMVN vector parameter. |
chol.control |
options for Cholesky decomposition, see |
An environment with precomputed quantities and functions for sampling from a multivariate normal distribution subject to equality constraints.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.