Learn R Programming

BCA (version 0.1-0)

score: Score a Database based on a Predictive Model

Description

Provides an integer vector that contains the "desirability" rank of a case in a data set based on the fitted values of a predictive model.

Usage

score(model, data, targLevel)

Arguments

Value

An integer vector that indicates the rank order desirability (a value of 1 means most desirable) of the correponding case of the database being scored.

Details

Only binomial glm, binary rpart, and binary nnet models can be used as the basis of scoring a database.