nodes<- | R Documentation |
Generic method for renaming the nodes in a BN or a DBN.
Calls bnlearn's nodes<-
underneath.
I have to redefine the generic and mask the original for it to work on both
bn and dbn objects without the user having to import bnlearn.
nodes(object) <- value
object |
a "bn", "dbn", "bn.fit" or "dbn.fit" object |
value |
a list with the new names |
the modified object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.