(bn) A new node is added to a bn, it is potentially defined by the
The proposed name for the new node must be different of those already registrated. Also, the parent nodes must already exist in the bn. This prevents the occurrence of cycles.
The function returns the BN with the added node.
For details about the way to define the node, see the 'new8alk' function.
The bn object to which a node has to be added.
An alk object not completed as given by the user.
The complete list of standard already programmed distributions is
given with help8ltype function.
From the definition of the link given by ("l*" arguments), a function which generates values for the link is constructed and stored into the slot "lien" of the BN.
an object of class "bn" with an additional node
1 2 3 4
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.