getMCMCscore: Extracting score from MCMC object

View source: R/extractors.R

getMCMCscoreR 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)

BiDAG documentation built on May 31, 2023, 6:46 p.m.

Related to getMCMCscore in BiDAG...