Description Usage Arguments Value See Also Examples
Plot the lift curves.
1 2 3 4 5 |
data |
A dataframe or a list of dataframes with the lift and the cumulative lift per quantile. |
type |
A string (default = "gain_chart"). The type of plot. One of: "gain_chart", "lift_curve" or "cumulative_lift_curve". |
quantile |
A string (default = "quantile"). The column's name of the quantiles. |
nb_quantiles |
An integer (default = 20). The number of quantiles computed. |
lift |
A string (default = "lift"). The column's name of the lift |
cumulative_lift |
A string (default = "cumulative_lift"). The column's name of the cumulative lift. |
cumulative_lift_per |
A string (default = "cumulative_lift_per"). The column's name of the cumulative lift in percentage. |
cumulative_lift_per_ideal |
A string (default = "cumulative_lift_per_ideal"). The column's name of the cumulative lift in percentage for the perfect model. |
A ggplot2 object.
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.