Description Usage Arguments Examples
View source: R/blr-plots-data.R
Data for generating KS chart.
1 2 3 4 5 6 7 8 9 | blr_prep_kschart_data(gains_table)
blr_prep_kschart_line(gains_table)
blr_prep_ksannotate_y(ks_line)
blr_prep_kschart_stat(ks_line)
blr_prep_ksannotate_x(ks_line)
|
gains_table |
An object of clas |
ks_line |
Overall conversion rate. |
1 2 3 4 5 6 7 8 | model <- glm(honcomp ~ female + read + science, data = hsb2,
family = binomial(link = 'logit'))
gt <- blr_gains_table(model)
blr_prep_kschart_data(gt)
ks_line <- blr_prep_kschart_line(gt)
blr_prep_kschart_stat(ks_line)
blr_prep_ksannotate_y(ks_line)
blr_prep_ksannotate_x(ks_line)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.