create_cMVN_sampler {mcmcsae} | R Documentation |
Set up a a function for direct sampling from a constrained multivariate normal distribution
Description
Set up a a function for direct sampling from a constrained multivariate normal distribution
Usage
create_cMVN_sampler(
mbs,
X,
Q,
R = NULL,
r = NULL,
sampler,
name = "x",
chol.control
)
Arguments
mbs |
block component containing several model components. |
X |
design matrix. |
Q |
(structured) 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 |
Value
An environment with precomputed quantities and functions for sampling from a multivariate normal distribution subject to equality constraints.
[Package mcmcsae version 0.7.7 Index]