Learn R Programming

dbnR (version 0.7.8)

nodes.bn.fit: 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 "bn.fit" S3 object. Calls bnlearn's nodes underneath.

Usage

# S3 method for bn.fit
nodes(object, ...)

Value

the names of the nodes

Arguments

object

a "bn.fit" object

...

additional parameters