nodes.bn: Returns a list with the names of the nodes of a BN or a DBN

View source: R/bnlearn_compat.R

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

Usage

## S3 method for class 'bn'
nodes(object, ...)

Arguments

object

a "bn" object

...

additional parameters

Value

the names of the nodes


dbnR documentation built on Oct. 5, 2022, 1:07 a.m.