LIFT_CHART {Modelcharts} | R Documentation |
Functions Lift Chart
Description
Creates a Lift chart.
Usage
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
Examples
## 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")
[Package Modelcharts version 0.1.0 Index]