computes the central value of a node

Share:

Description

From the named vector x where the possible parents must exist, the deterministic application of the central value is done for the node nod.

Usage

1
rr8nod(nod, x=NULL, add=TRUE)

Arguments

nod

/nod/ object to be simulated.

x

named vector of the previous computed nodes, can be anything for the ancestor nodes.

add

Must the vector x be augmented, or only the the new value returned?

Value

Named vector with the computed and retained node possibly as an augmentation of the inputted x.

Examples

1
2
3
4
 prr3k("RESET"); # For R checking compliance
 x1 <- rr8nod(prr.nod1);
 x2 <- rr8nod(prr.nod2, x1);
 x3 <- rr8nod(prr.nod3, x2);

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