Learn R Programming

Causata (version 4.2-0)

CausataVariable: Creates an object of class CausataVariable for scoring in Causata.

Description

Preprocessing steps are recorded in a CausataVariable object so they can be written to PMML and executed in Causata.

Usage

CausataVariable(variableName, values, causata.name=variableName)

Arguments

variableName
A character string containing the variable name.
values
An array of values for the variable, or a factor.
causata.name
A character string containing the variable name in a Causata format.

Value

An object of class CausataVariable is returned.

Details

The CausataVariable class is used to record preprocessing steps such as replacing outliers, binning, and replacing missing values. Typically CausataVariable is not called directly -- instead it is called repeatedly by CausataData.

See Also

CausataData.

Examples

Run this code
CausataVariable("variable.name__All.Past", c(1,2,3,4,5))

Run the code above in your browser using DataLab