Learn R Programming

dbnR (version 0.7.8)

nodes<-.bn: 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 method for bn
nodes(object) <- value

Value

the modified object

Arguments

object

a "bn" object

value

a list with the new names