View source: R/func_MCMC_graph.R
func_MCMC_graph | R Documentation |
This an internal function for MCMC sampling
func_MCMC_graph(sobj, hyperpar, ini, S, method, MRF_2b, cpp = FALSE)
sobj |
a list containing observed data from |
hyperpar |
a list containing prior parameter values |
ini |
a list containing prior parameters' ini values |
S |
the number of subgroups |
method |
a method option from
|
MRF_2b |
two different b in MRF prior for subgraphs G_ss and G_rs |
cpp |
logical, whether to use C++ code for faster computation |
A list object with components "Sig" the updated covariance matrices, "G.ini" the updated graph, "V.ini" the updated variances for precision matrices in all subgroups, "C.ini" the updated precision matrices omega for each subgroup
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.