mnd4bn: modifies an existing node into a bn object

Description Usage Arguments Details Value Examples

Description

(bn) An already existing node is replaced into a bn. Some of its characteristics cannot be modified: name, lvar and lnat. This is a condition for not to modify the other nodes.
The user must take great care that the effect of default is NOT AT ALL as in the similar function and4bn ! When adding a new node, the default is nothing, when modifying an existing node the default is NO MODIFICATION except for lfunct, ldaf... Some checks are performed.
For the moment repeated node cannot be replaced.

Usage

1
mnd4bn(bn, ion, alk)

Arguments

bn

The bn object to which a node has to be modified.

ion

The node to replace, by internal number or name.

alk

Definition of the replacing node by the user.

Details

More insights are given in the description of and4bn.

Value

The modified bn

Examples

1
2
3
4
5
 rebastaba3k("RESET"); # (only for R checking)
 print(mnd4bn(rebastaba.bn1, 2, new8alk(char2des("B"), ltype="uniform", 
 lpara=list(a="{{A}}", b="2*{{A}}"), 
 lpod=list(c(-10, 10))
 )));

rebastaba documentation built on May 2, 2019, 5:24 p.m.

Related to mnd4bn in rebastaba...