Description Usage Arguments Author(s) Examples
Plots lifts from getLift function
1 2 3 4 5 6 7 8 |
lifts |
named list with lifts from getLift |
... |
lifts from getLift |
cuts |
points to show exact value of lifts |
value |
column to be ploted, cum_lift, lift, cum_response, response |
independient |
independient value of the plot, can be 'percentil' or 'mean_score' |
level_line |
should shouw the average responce rate? TRUE or FALSE |
Daniel Fischer
1 2 3 4 5 6 7 8 9 10 | score1 = runif(1000)
response1 = (score1 + rnorm(1000,0,0.1)) > 0.5
lift1 = getLift(score1,response1)
score2 = runif(1000)
response2 = (score2 + rnorm(1000,0,0.3)) > 0.5
lift2 = getLift(score2,response2)
lifts = list(model1 = lift1, model2 = lift2)
plotLift(lifts)
#or
plotLift(model1 = lift1, model2 = lift2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.