Description Usage Arguments Value
Adds a new node of to the network. NOTE: RESULTS WILL BE CLEARED. If you want to have access to past results you must copy and store them elsewhere before calling this function. NOTE: ADDING A NODE CAN RESULT IN A NEW DATA TABLE BEING CREATED.
1 2 |
net |
the current network |
type |
string specifying type of node to add. Valid values are: 'noisyor', 'dirichlet', 'logand', 'logor', logprod', 'flag', and 'flagprod'. |
values |
vector of strings specifying the names of the values of the node. Note that all nodes must have at least two values, and noisy-or and logical-and type nodes can only have two values. |
name |
string specifying the name of the node. |
parents |
vector of integers specifying the indices of the parents of node. Note that logical-and nodes must have exactly two parents. |
params |
matrix specifying parameters of node. |
params2 |
matrix specifying secondary parameters of node. |
miscString |
a string specifying additional settings. Currently used only for multinomial noisy-or nodes, in which case it should be 'T' if the secondary parameters matrix should be adaptable, and 'F' otherwise. |
cn |
A RODBC connection. Required if performing deep update. |
deepUpdate |
Specifies whether a deep update should be performed. |
dropImages |
Specifies if images should be dropped on a deepUpdate. |
new Bayesian network with node added.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.