model_partials: Get predictive indicator for partial models given a model

View source: R/model-diagnostics.R

model_partialsR Documentation

Get predictive indicator for partial models given a model

Description

Get predictive indicator for partial models given a model

Usage

model_partials(model, newdata = NULL, verbose = TRUE)

Arguments

model

model

newdata

Optional data frame

verbose

verbose

Examples


data("credit_woe")

m <- glm(bad ~ age_woe + flag_res_phone_woe + months_in_the_job_woe +
   payment_day_woe + sex_woe + profession_code_woe + marital_status_woe,
   family = binomial, data = head(credit_woe, 10000)
   )

model_partials(m)

model_partials(m, newdata = tail(credit_woe, 10000))


jbkunst/risk3r documentation built on March 19, 2024, 10:49 p.m.