rename_nodes | R Documentation |
This function renames nodes of a Gaussian mixture graphical model. If this model is a dynamic Bayesian network, the nodes are renamed for each of its transition models.
rename_nodes(gmgm, nodes, names)
gmgm |
An object of class |
nodes |
A character vector containing the renamed nodes. |
names |
A character vector containing the respective new names of the nodes. |
The gmbn
or gmdbn
object after renaming the nodes.
add_arcs
, add_nodes
,
relevant
, remove_arcs
, remove_nodes
data(gmbn_body) gmbn_1 <- rename_nodes(gmbn_body, c("FAT", "GLYCO"), c("BODY_FAT", "GLYCOHEMOGLOBIN")) data(gmdbn_air) gmdbn_1 <- rename_nodes(gmdbn_air, "TEMP", "TEMPERATURE")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.