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


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