create_quantile_plot_data: create_quantile_plot_data

Description Usage Arguments

View source: R/create_quantile_plot_data.R

Description

This function creates the data required for a quantile plot

Usage

1
create_quantile_plot_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.