Lift Chart data
Data for generating lift chart.
blr_prep_lchart_gmean(gains_table) blr_prep_lchart_data(gains_table, global_mean)
gains_table
: An object of clas blr_gains_table
.global_mean
: Overall conversion rate.model <- glm(honcomp ~ female + read + science, data = hsb2, family = binomial(link = 'logit')) gt <- blr_gains_table(model) globalmean <- blr_prep_lchart_gmean(gt) blr_prep_lchart_data(gt, globalmean)
Useful links