rr8nod: computes the central value of a node

Description Usage Arguments Value Examples

View source: R/f0.prr.code.r

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);

prr documentation built on May 31, 2017, 4:54 a.m.

Related to rr8nod in prr...