knitr::opts_chunk$set(echo = FALSE)
suppressWarnings(suppressMessages(library(blorr, quietly = TRUE))) suppressWarnings(suppressMessages(library(magrittr, quietly = TRUE))) suppressWarnings(suppressMessages(library(purrr, quietly = TRUE))) suppressWarnings(suppressMessages(library(rlang, quietly = TRUE)))
report_data <- model$data is_fact <- map_lgl(report_data, is.factor) fact_df <- report_data[, is_fact] response <- names(model.frame(model))[1] predictors <- names(fact_df)
blr_bivariate_analysis(report_data, !!sym(response), !!!predictors)
blr_woe_iv_stats(report_data, !!sym(response), !!!predictors)
blr_regress(model)
blr_step_aic_both(model)
model %>% blr_step_aic_both() %>% plot()
blr_model_fit_stats(model)
blr_confusion_matrix(model, cutoff = 0.5)
blr_test_hosmer_lemeshow(model)
blr_gains_table(model)
model %>% blr_gains_table() %>% plot()
model %>% blr_gains_table() %>% blr_roc_curve()
model %>% blr_gains_table() %>% blr_ks_chart()
model %>% blr_gains_table() %>% blr_decile_lift_chart()
model %>% blr_gains_table() %>% blr_decile_capture_rate()
blr_lorenz_curve(model)
blr_plot_diag_influence(model)
blr_plot_diag_leverage(model)
blr_plot_diag_fit(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.