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

nodes<-.dbnR 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'
nodes(object) <- value

Arguments

object

a "dbn" object

value

a list with the new names

Value

the modified object


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