getMCMCscore | R Documentation |
This function extracts the score of a maximum DAG sampled in the MCMC run.
getMCMCscore(x)
x |
object of class 'orderMCMC','partitionMCMC' or 'iterativeMCMC' |
a score of a maximum-scoring DAG found/sampled in one MCMC run
myscore<-scoreparameters("bge", Boston)
## Not run:
itfit<-learnBN(myscore,algorithm="orderIter")
getMCMCscore(itfit)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.