plot a BN
as a picture.
Arguments
- x
a
BN
object.- method
either
default
ofqgraph
. Thedefault
method requires theRgraphviz
package, whileqgraph
requires theqgraph
package and allows for a greater customization.- use.node.names
TRUE
if node names have to be printed. IfFALSE
, numbers are used instead.- frac
minimum fraction [0,1] of presence of an edge to be plotted (used in case of
plot.wpdag=TRUE
).- max.weight
maximum possible weight of an edge (used in case of
plot.wpdag=TRUE
).- node.size.lab
font size for the node labels in the default mode.
- node.col
list of (
R
) colors for the nodes.- plot.wpdag
if
TRUE
plot the network according to the WPDAG computed using bootstrap instead of the DAG.- ...
potential further arguments when using
method="qgraph"
. Please refer to theqgraph
documentation for the parameters available for theqgraph()
method.