Learn R Programming

rawKS (version 0.1.0)

ks_plot: Plot KS chart

Description

Plot KS chart

Usage

ks_plot(df)

Arguments

df

data.frame created by ks_table

Value

The 'ggplot2' object

Examples

Run this code
# NOT RUN {
data("two_class_example_edited")
max(ks_table(two_class_example_edited$yhat, two_class_example_edited$y)$ks)
ks_table(two_class_example_edited$yhat, two_class_example_edited$y) %>%
  ks_plot()
# }

Run the code above in your browser using DataLab