expr3func: builds generating function from code

Description Usage Arguments Details Value Examples

Description

From pieces of code usually generated by easyp2code, respectively for generation and transformation, the generation function is produced.

Usage

1
expr3func(gc, tc="")

Arguments

gc

code for generation, character of length 1.

tc

Code for transformation, character of length 1. When empty transformation part is introduced.

Details

No check is made about the code validity.

Value

resulting object function (to be introduced in the @rlks slot of the bn's

Examples

1
2
 rebastaba3k("RESET"); # needed only for R checking, to be forgotten
 expr3func("{rnorm(100)}", "{abs(Y)}");

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