plot_double_lift_data: plot_double_lift_data

Description Usage Arguments

View source: R/plot_double_lift_data.R

Description

A companion plotting function to create_double_lift_data. It calls the aggregator and then makes a nice plot.

Usage

1
2
plot_double_lift_data(modelA, modelB, actual, weight = NULL, nbins = 10,
  retLabel = FALSE)

Arguments

modelA

A vector that contains the predictions for Model A - preds will be pro-rated

modelB

A vector that contains the predictions for Model B - preds will be pro-rated

actual

A vector that contains the actuals that the models are to be compared to

weight

A vector that contains the row level weights (exposure,claim count). Defaults to NULL

nbins

Passed to the binnarise function - how many equally sized bins should the ratio be cut into

retLabel

Keep string labels from binnarise


gm209/gmtools documentation built on May 22, 2019, 2:39 p.m.