nodes-set-.dbn.fit: Relabel the names of the nodes of a BN or a DBN

nodes<-.dbn.fitR Documentation

Relabel the names of the nodes of a BN or a DBN

Description

Generic method for renaming the nodes in a "bn" S3 object. Calls bnlearn's nodes<- underneath.

Usage

## S3 replacement method for class 'dbn.fit'
nodes(object) <- value

Arguments

object

a "dbn" object

value

a list with the new names

Value

the modified object


dkesada/dbnR documentation built on June 19, 2024, 6:45 p.m.