| add_nodes | R Documentation | 
This function adds nodes to a Gaussian mixture graphical model. If this model is a dynamic Bayesian network, the nodes are added to each of its transition models. For each added node, a one-component univariate Gaussian mixture model is created with mean 0 and variance 1.
add_nodes(gmgm, nodes)
| gmgm | An object of class  | 
| nodes | A character vector containing the added nodes. | 
The gmbn or gmdbn object after adding the nodes.
add_arcs, relevant,
remove_arcs, remove_nodes,
rename_nodes
data(gmbn_body)
gmbn_1 <- add_nodes(gmbn_body, c("CHOL", "TRIGLY"))
data(gmdbn_air)
gmdbn_1 <- add_nodes(gmdbn_air, "PM10")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.