response {CustomerScoringMetrics}R Documentation

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)

Format

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

Author(s)

Authors: Koen W. De Bock Maintainer: kdebock@audencia.com

Examples

# Load data
data(response)
# Calculate incidence in test sample
print(sum(response$test[,1]=="cl1")/nrow(response$test))

[Package CustomerScoringMetrics version 1.0.0 Index]