Description Usage Arguments Details Value
Bucket data and draw univariate plots in plotly. Univariate plots show the variation of one or more variable versus one covariate. universe will also draw a neat exposure histogram.
1 2 |
input_df |
input data.frame or data.table |
plot_cols |
string vector naming one or more columns in input_df to plot against by_col |
by_col |
string naming the x-variable against which the plot_cols are measured |
buckets |
number of buckets into which to attempt to reduce the data. Defaults to 10. |
cut_type |
either "even" or "quantile". Defaults to "even".
|
scale |
either "uniform" or "cartesian". Defaults to "uniform".
|
Operates in two parts; bucketing the data into discrete bins (either evenly in by_col or evenly by quantile in by_col), then drawing the variation of the plot_cols vs by_col with a histogram of by_col's exposure.
plotly object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.