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

nodes<-.bn.fitR Documentation

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

Description

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

Usage

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

Arguments

object

a "bn.fit" object

value

a list with the new names

Value

the modified object


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