add_nodes: Add nodes to a Gaussian mixture graphical model
Description
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.
Usage
add_nodes(gmgm, nodes)
Value
The gmbn or gmdbn object after adding the nodes.
Arguments
gmgm
An object of class gmbn or gmdbn. If NULL, a
gmbn object is created with the added nodes.