Performs all the preprocessing of 'universe', but stops short of calling plotly and returns its data structure. Use with your own plotly methods for greater control.
1 2 | universe_df(input_df, plot_cols, by_col, buckets = 10, cut_type = "even",
scale = "uniform")
|
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".
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.