bn.strength class {bnlearn} | R Documentation |
The bn.strength class structure
Description
The structure of an object of S3 class bn.strength
.
Details
An object of class bn.strength
is a data frame with the following
columns (one row for each arc):
-
from, to
: the nodes incident on the arc. -
strength
: the strength of the arc. Seearc.strength
,boot.strength
,custom.strength
andstrength.plot
for details.
and some additional attributes:
-
nodes
: a vector of character strings, the labels of the nodes of the network(s) the strength were computed from. -
method
: a character string, the method used to compute the strength coefficients. It can be equal totest
,score
orbootstrap
. -
threshold
: a numeric value, the threshold used to determine if a strength coefficient is significant.
An optional column called direction
may also be present, giving the
probability of the direction of an arc given its presence in the graph.
Only the plot()
method is defined for this class; therefore, it can
be manipulated as a standard data frame.
Author(s)
Marco Scutari