nodes.dbn {dbnR} | R Documentation |
Returns a list with the names of the nodes of a BN or a DBN
Description
Generic method for obtaining the names of the nodes in "dbn" S3 object.
Calls bnlearn's nodes
underneath.
The nodes 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.
Usage
## S3 method for class 'dbn'
nodes(object, ...)
Arguments
object |
a "dbn" object |
... |
additional parameters |
Value
the names of the nodes
[Package dbnR version 0.7.9 Index]