model_scorecard: Creating a scorecard from logistic model

Description Usage Arguments Examples

View source: R/model_scorecard.R

Description

The defaults are given by de Siddiqi example.

Usage

1
2
model_scorecard(model, pdo = 20, score0 = 600, pdo0 = 50/1,
  turn.orientation = FALSE)

Arguments

model

A glm logistic model

pdo

default 20

score0

default 600

pdo0

default to 50/1

turn.orientation

change the orientation of the scorecard points

Examples

1
2
3
4
5
6
7
8
data("german_credit")

model <- glm(
  good_bad ~ purpose + present_employment_since + credit_history,
  data = german_credit, family = binomial
  )

model_scorecard(model)

jbkunst/irks documentation built on May 22, 2021, 2:09 p.m.