getMCMCscore {BiDAG} | R Documentation |
Extracting score from MCMC object
Description
This function extracts the score of a maximum DAG sampled in the MCMC run.
Usage
getMCMCscore(x)
Arguments
x |
object of class 'orderMCMC','partitionMCMC' or 'iterativeMCMC' |
Value
a score of a maximum-scoring DAG found/sampled in one MCMC run
Examples
myscore<-scoreparameters("bge", Boston)
## Not run:
itfit<-learnBN(myscore,algorithm="orderIter")
getMCMCscore(itfit)
## End(Not run)
[Package BiDAG version 2.1.4 Index]