
Last chance! 50% off unlimited learning
Sale ends in
Plot arc strengths derived from bootstrap resampling.
# S3 method for bn.strength
plot(x, draw.threshold = TRUE, main = NULL,
xlab = "arc strengths", ylab = "CDF(arc strengths)", ...)
an object of class bn.strength
.
a boolean value. If TRUE
, a dashed vertical line
is drawn at the threshold.
character strings, the main title and the axes labels.
other graphical parameters to be passed through to plotting functions.
# NOT RUN {
data(learning.test)
start = random.graph(nodes = names(learning.test), num = 50)
netlist = lapply(start, function(net) {
hc(learning.test, score = "bde", iss = 10, start = net) })
arcs = custom.strength(netlist, nodes = names(learning.test), cpdag = FALSE)
plot(arcs)
# }
Run the code above in your browser using DataLab