x5nod: computes the x values for a node

Description Usage Arguments Details Value Examples

Description

x values for the node nod are returned to prepare a simulation of size nrow(X). Possible parents are extracted from the data frame X, these must exist.

Usage

1
x5nod(nod, X)

Arguments

nod

The concerned /nod/ object.

X

Data frame of the previous simulated nodes in columns. When nod is an ancestor node (= no parents), it must be provided for the number of rows.

Details

No checks about the existence of the parent are made in this very basic function.

Value

a vector of numeric values, the length of which is the row number of X.

Examples

1
2
 prr3k("RESET"); # For R checking compliance
 x5nod(prr.nod1, as.data.frame(matrix(NA, 15, 0)));

prr documentation built on May 2, 2019, 6:35 p.m.

Related to x5nod in prr...