plot_quantile_data: plot_quantile_data

Description Usage Arguments

View source: R/plot_quantile_data.R

Description

A companion function to create_quantile_plot_data. It runs the aggregator and then makes a nice plot.

Usage

1
plot_quantile_data(y_pred, y_true, w = NULL, nbins = 10)

Arguments

y_pred

The predictions that you want to compare the actuals to - these will be pro-rated.

y_true

The actuals you want to compare your model against

w

A column of row level weights (e.g. exposure, claim count). Defaults to NULL

nbins

How many quantiles do you want to create? Defaults to 10


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