Description Usage Arguments Source Examples
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).
1 | pfa_engine(doc)
|
doc |
|
json.R
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.