getWidths | R Documentation |
Helper function to account for issues plotly has with very small widths (these end up being 1 and cover the entire plotting area)
getWidths(df2, facets, x_var, drop = TRUE)
df2 |
dataframe storing plotting data |
facets |
column facets |
x_var |
x variable |
drop |
passed on as .drop to dplyr::group_by |
widths for each facet
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.