Learn R Programming

aurelius (version 0.8.4)

pfa_engine: pfa_engine

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

pfa_engine(doc)

Arguments

doc

list of lists representing a complete PFA document

Examples

Run this code

my_pfa_doc <- pfa_document(avro_double, avro_double, expression(input + 10))
pfa_engine(my_pfa_doc)   # requres rPython and Titus to be installed

Run the code above in your browser using DataLab