View source: R/frontend-plot.R
plot.bn.strength | R Documentation |
Plot arc strengths derived from bootstrap resampling.
## S3 method for class 'bn.strength'
plot(x, draw.threshold = TRUE, main = NULL,
xlab = "arc strengths", ylab = "CDF(arc strengths)", ...)
x |
an object of class |
draw.threshold |
a boolean value. If |
main , xlab , ylab |
character strings, the main title and the axes labels. |
... |
other graphical parameters to be passed through to plotting functions. |
The xlim
and ylim
arguments are always overridden.
Marco Scutari
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.