Lorenz: Plot Lorenz Curve

Description Usage Arguments Value

Description

Lorenz plots the Lorenz curve along with C-Statistic, KS-Statistic, and Gini-Coefficient.

Usage

1
Lorenz(data, target, pred, title = "Lorenz Curve")

Arguments

data

data.frame consisting of a vector of predicted probabilities and a vector of actaul (1,0)

target

name of response variable

pred

name of variable with predicted probabilities

title

title of the Lorenz plot. Default is "Lorenz Curve"

Value

plot of Lorenz curve with C-Stat, KS-Stat, and Gini-Coef


MattKelliher-Gibson/ModelEvalr documentation built on May 7, 2019, 4:34 p.m.