View source: R/create_quantile_plot_data.R
This function creates the data required for a quantile plot
1 | create_quantile_plot_data(y_pred, y_true, w = NULL, nbins = 10)
|
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.