fit_mcmc | R Documentation |
Set up MCMC Chain
fit_mcmc(data, scoretype = "bge", iterations, ...)
data |
dataset to fit |
scoretype |
type of score: "bge" or "bde" |
iterations |
number of iterations |
... |
other arguments to pass to |
This is basically a wrapper for
BiDAG's scoreparameters()
and partitionMCMC()
,
but which augments the chain with an array of sampled adjacencies, the
number of samples and variables, and the average adjacency. Variable
names are also extracted from the original data set.
An object of class
summary_MCMCchain
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.