View source: R/bnlearn_compat.R
degree.dbn | R Documentation |
Generic method for calculating the degree of a list of nodes in a
"dbn" S3 object. Calls bnlearn's degree
underneath.
The degree function is specifically coded to look for either the "bn"
or the "bn.fit" method inside bnlearn, so I have to cast the "dbn" class
into "bn" for it to work.
## S3 method for class 'dbn'
degree(object, Nodes, ...)
object |
a "dbn" object |
Nodes |
which nodes to check |
... |
additional parameters |
the degree of the nodes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.