bn.boot(data, statistic, R = 200, m = nrow(data), sim = "ordinary",
algorithm, algorithm.args = list(), statistic.args = list(),
cluster = NULL, debug = FALSE)
"ordinary"
(the default)
and "parametric"
.gs
,
iamb
, fast.iamb
, inter.iamb
, mmpc
,
hc
, tabu
statistic
.parallel integration
for details and a simple
example.TRUE
a lot of debugging output
is printed; otherwise the function is completely silent.statistic
.statistic
is the bn
object encoding
the network structure learned from the bootstrap sample; the arguments
specified in statistics.args
are extracted from the list and
passed to statitstics
as the 2nd, 3rd, etc. arguments.bn.cv
, rbn
.data(learning.test)
bn.boot(data = learning.test, R = 2, m = 500, algorithm = "gs",
statistic = arcs)
Run the code above in your browser using DataLab