Learn R Programming

CustomerScoringMetrics (version 1.0.0)

response: response data

Description

Predicted customer reponse probabilities and true responses for a customer scoring model. Includes results for two data samples: a test sample (response$test) and a validation sample (response$val).

Usage

data(response)

Arguments

Format

A list with two elements: response$test and response$val, both are data frames with data for 2 variables: preds and dep.

Examples

Run this code
# NOT RUN {
# Load data
data(response)
# Calculate incidence in test sample
print(sum(response$test[,1]=="cl1")/nrow(response$test))
# }

Run the code above in your browser using DataLab