degree {dbnR} | R Documentation |
Calculates the degree of a list of nodes
Description
#' Generic method for calculating the degree of a list of nodes in a
BN or a DBN. Calls bnlearn's degree
underneath.
I have to redefine the generic and mask the original for it to work on both
bn and dbn objects without the user having to import bnlearn.
Usage
degree(object, Nodes, ...)
Arguments
object |
a "bn", "dbn", "bn.fit" or "dbn.fit" object |
Nodes |
which nodes to check |
... |
additional parameters |
Value
the degree of the nodes
[Package dbnR version 0.7.9 Index]