Description Usage Arguments Value Examples
Do one step of Metropolis-Hastings algorithm: Propose a new graph and either accept or decline it.
1 2 3 |
nw |
|
dataset |
A data frame to use |
verbose |
If TRUE then report messanges and plots will be given |
score |
A function to calculate BIC |
whitelist |
For move proposal, 2-column matrix or data.frame with compulsory edges (vertices as numbers) |
blacklist |
For move proposal, 2-column matrix or data.frame with forbidden edges (vertices as numbers) |
lprior |
Log of prior distribution of acyclic directed graph |
move.score |
A function to adjust the score to addition / removal / reversal of an edge |
move.lprior |
A function to adjust the log-prior to addition / removal / reversal of an edge |
move.proposals |
A function to adjust the proposals to addition / removal / reversal of an edge |
mhnet
network
1 2 3 | rg <- tabu(learning.test)
nw <- import.bnlearn(rg)
one.step(nw, learning.test)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.