gg_ba: Plot Bivariate Analysis

Description Usage Arguments Examples

Description

This function calculate a bivariate table.

Usage

1
gg_ba(variable, target, labels = TRUE, order.by = NULL)

Arguments

variable

A numeric vector containing scores or probabilities

target

A numeric binary vector (0, 1)

labels

A par

order.by

A par

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
data("credit")

variable <- credit$sex
target <- credit$bad

gg_ba(variable, target)

gg_ba(variable, target, order.by = "target")

## End(Not run)

jbkunst/riskr documentation built on May 18, 2019, 7 p.m.