Learn R Programming

lookupTable (version 0.1)

lookupTable-class: An S4 class that defines the look-up table and all other components required for prediction using this table.

Description

An S4 class that defines the look-up table and all other components required for prediction using this table.

Arguments

Slots

table
the look-up table with entries to be retrieved as prediction results
feature.con
a vector of continuous feature names
feature.cat
a vector of categorical feature names
feature.boundaries
a list of boundaries for each input feature (inferred during construction from input data)
response
the name of the response variable for the look-up table
default
the default value for cells corresponding to a missing combination of input values
response.categories
sequence of all categories (order-dependent) for the response variable, if it's categorical