returns an expanded easyp from an easyp

Share:

Description

(bn) Changing the nodes into the node variables. This is done when necessary, e.g. eas can be returned as it is. Detected inconsistencies provoke fatal errors.

Usage

1
easyp3expanded(ldim, eas, bn)

Arguments

ldim

When greater than one, must be the length of the resulting easyp.

eas

The scalar easyp expression.

bn

The associated /bn/.

Value

A character containing the expanded easyp

Examples

1
2
3
4
5
6
 rebastaba3k("RESET"); # (only for R checking)
 print(easyp3expanded(1, "{{A}}+{{B[a]}}", rebastaba.bn2));
 print(easyp3expanded(2, "{{A}}+{{B[a]}}", rebastaba.bn2));
 print(easyp3expanded(3, "{{B}}", rebastaba.bn2));
 print(easyp3expanded(3, "{{A}}+{{B}}", rebastaba.bn2));
 ## Not run: easyp3expanded(5, "{{B}}", rebastaba.bn2);

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.