Rdocumentation
powered by
Learn R Programming
bnlearn (version 1.6)
bn.fit: Fit the parameters of a Bayesian network
Description
Fit the parameters of a Bayesian network conditional on its structure.
Usage
bn.fit(x, data, debug = FALSE)
Arguments
x
an object of class
bn
.
data
a data frame, containing the variables in the model.
debug
a boolean value. If
TRUE
a lot of debugging output is printed; otherwise the function is completely silent.
Value
An object of class
bn.fit
. See
bn.fit class
for details.