getRuntime | R Documentation |
This function extracts runtime of a particular step of order and partition MCMC.
getRuntime(x, which = 0)
x |
object of class 'orderMCMC'or 'partitionMCMC' |
which |
integer, defines if the runtime is extracted for: computing score tables (which = 1), running MCMC chain (which = 2) |
runtime of a particular step of MCMC scheme or total runtime
myscore<-scoreparameters("bge",Boston)
## Not run:
orderfit<-sampleBN(myscore,algorithm="order")
(getRuntime(orderfit,1))
(getRuntime(orderfit,2))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.