blr_prep_lchart_gmean function

Lift Chart data

Lift Chart data

Data for generating lift chart.

blr_prep_lchart_gmean(gains_table) blr_prep_lchart_data(gains_table, global_mean)

Arguments

  • gains_table: An object of clas blr_gains_table.
  • global_mean: Overall conversion rate.

Examples

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)