remove_nodes {gmgm} | R Documentation |
This function removes nodes from a Gaussian mixture graphical model. If this model is a dynamic Bayesian network, the nodes are removed from each of its transition models.
remove_nodes(gmgm, nodes)
gmgm |
An object of class |
nodes |
A character vector containing the removed nodes. |
The gmbn
or gmdbn
object after removing the nodes.
add_arcs
, add_nodes
,
relevant
, remove_arcs
, rename_nodes
data(gmbn_body)
gmbn_1 <- remove_nodes(gmbn_body, c("FAT", "GLYCO"))
data(gmdbn_air)
gmdbn_1 <- remove_nodes(gmdbn_air, "TEMP")