Description Usage Arguments Value See Also Examples
Creates a Lift chart.
1 | LIFT_CHART(INPUT, Probability, cutoffs, Outcome, Event)
|
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") |
A lift chart
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")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.