View source: R/model-diagnostics.R
model_partials | R Documentation |
Get predictive indicator for partial models given a model
model_partials(model, newdata = NULL, verbose = TRUE)
model |
model |
newdata |
Optional data frame |
verbose |
verbose |
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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.