powered by
Decile wise lift chart.
blr_decile_lift_chart( gains_table, xaxis_title = "Decile", yaxis_title = "Decile Mean / Global Mean", title = "Decile Lift Chart", bar_color = "blue", text_size = 3.5, text_vjust = -0.3, print_plot = TRUE )
An object of class blr_gains_table.
blr_gains_table
X axis title.
Y axis title.
Plot title.
Color of the bars.
Size of the bar labels.
Vertical justification of the bar labels.
logical; if TRUE, prints the plot else returns a plot object.
TRUE
Other model validation techniques: blr_confusion_matrix(), blr_decile_capture_rate(), blr_gains_table(), blr_gini_index(), blr_ks_chart(), blr_lorenz_curve(), blr_roc_curve(), blr_test_hosmer_lemeshow()
blr_confusion_matrix()
blr_decile_capture_rate()
blr_gains_table()
blr_gini_index()
blr_ks_chart()
blr_lorenz_curve()
blr_roc_curve()
blr_test_hosmer_lemeshow()
# NOT RUN { model <- glm(honcomp ~ female + read + science, data = hsb2, family = binomial(link = 'logit')) gt <- blr_gains_table(model) blr_decile_lift_chart(gt) # }
Run the code above in your browser using DataLab