pfa_engine: pfa_engine

Description Usage Arguments Source Examples

Description

Create an executable PFA scoring engine in R by calling Titus through rPython. If this function is successful, then the PFA is valid (only way to check PFA validity in R).

Usage

1

Arguments

doc

list of lists representing a complete PFA document

Source

json.R

Examples

1
2
3
4
5
## Not run: 
my_pfa_doc <- pfa_document(avro_double, avro_double, expression(input + 10))
pfa_engine(my_pfa_doc)   # requres rPython and Titus to be installed

## End(Not run)

aurelius documentation built on May 2, 2019, 3:43 a.m.