nodes<-.dbn.fit {dbnR}R 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


[Package dbnR version 0.7.9 Index]