blr_prep_lchart_gmean {blorr} | R Documentation |
Lift Chart data
Description
Data for generating lift chart.
Usage
blr_prep_lchart_gmean(gains_table)
blr_prep_lchart_data(gains_table, global_mean)
Arguments
gains_table |
An object of clas |
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)
[Package blorr version 0.3.0 Index]