LIFT_CHART: Functions Lift Chart

Description Usage Arguments Value See Also Examples

Description

Creates a Lift chart.

Usage

1
LIFT_CHART(INPUT, Probability, cutoffs, Outcome, Event)

Arguments

INPUT

Input data

Probability

Probability values between zero and one

cutoffs

probability cutoffs(c(0.80,0.60,0.40,0.20,0)/c(0.5,0))

Outcome

outcome variable(target variable)

Event

outcome representation ("YES"/"Y"/"1")

Value

A lift chart

See Also

Modelcharts

Examples

1
2
3
4
5
6
## Not run: 
# Run it and see for yourself

## End(Not run)
data.tmp<-read.csv(system.file("ext", "testdata.csv", package="Modelcharts"))
LIFT_CHART(data.tmp,data.tmp$Probability,seq(0.95,0,-0.05),data.tmp$Outcome,"Y")

Modelcharts documentation built on May 2, 2019, 12:20 p.m.