bayesvl bnlearn utilities | R Documentation |
Provides the interface to the functions in the bnlearn package for network diagnostics of an object of class bayesvl
.
# Interface to bn.fit function to fit the parameters of # a Bayesian network conditional on its structure. bvl_bnBayes(dag, data = NULL, method = "bayes", iss = 10, ...) # Interface to bnlearn score function to compute the score of the Bayesian network. bvl_bnScore(dag, data = NULL, ...) # Interface to arc.strength function to measure the strength of the probabilistic # relationships expressed by the arcs of a Bayesian network. bvl_bnStrength(dag, data = NULL, criterion = "x2", ...) # Interface to bn.fit.barchart function to plot fit # the parameters of a Bayesian network conditional on its structure. bvl_bnBarchart(dag, data = NULL, method = "bayes", iss = 10, ...)
dag |
an object of class |
data |
a data frame containing the variables in the model. |
method |
a character string, either mle for Maximum Likelihood parameter estimation or bayes for Bayesian parameter estimation (currently implemented only for discrete data). |
iss |
a numeric value, the imaginary sample size used by the bayes method to estimate the conditional probability tables associated with discrete nodes |
criterion |
a character string, the method using for measuring |
... |
extra arguments from the generic method |
bvl_bnScore()
return a number, value of score.
La Viet-Phuong, Vuong Quan-Hoang
For documentation, case studies and worked examples, and other tutorial information visit the References section on our Github:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.