powered by
This function extracts runtime of a particular step of order and partition MCMC.
getRuntime(x, which = 0)
runtime of a particular step of MCMC scheme or total runtime
object of class 'orderMCMC'or 'partitionMCMC'
integer, defines if the runtime is extracted for: computing score tables (which = 1), running MCMC chain (which = 2)
myscore<-scoreparameters("bge",Boston) if (FALSE) { orderfit<-sampleBN(myscore,algorithm="order") (getRuntime(orderfit,1)) (getRuntime(orderfit,2)) }
Run the code above in your browser using DataLab