pfa_cell {aurelius}R Documentation

pfa_cell

Description

Creates a list of lists representing a PFA cell.

Usage

pfa_cell(type, init, source = "embedded", shared = FALSE,
  rollback = FALSE)

Arguments

type

cell type, which is an Avro schema as list of lists (created by avro_* functions)

init

cell initial value, which is a list of lists, usually converted from a model

source

if "embedded", the init is the data structure, if "json", the init is a URL string pointing to an external JSON file

shared

if TRUE, the cell is shared across scoring engine instances

rollback

if TRUE, the cell's value would be rolled back if an uncaught exception is encountered

Value

a list of lists that can be inserted into pfa_config.

Examples

pfa_cell(avro_double, 12)

[Package aurelius version 0.8.4 Index]