Description Usage Arguments Details
Plot multiple density curves from different datasets. This function was primarily built to compare the output distribution of a model across train, test and live datasets.
1 | density.gg(measure = "p_", df_train = ds1, df_test = ds2, df_live = dsl, xlim = NULL, ylim = NULL)
|
measure |
The variable to be plotted, such as Propensity. |
df_train |
Train data. |
df_test |
Test data. |
df_live |
Live data. |
xlim |
The limits for the x-axis. By default this is automatic. |
ylim |
The limits for the y-axis. By default this is automatic. |
Note that df_train, df_test, and live can be replaced by any other desired dataset. The only condition is that the measure variable needs to have the same name across all datasets.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.