View source: R/plot_formatting.R
Set various quik options for plotting
1 2 | set_quik_opts(df, dimension, measure, groups, palette_type, colors,
measure_decimal, measure_unit)
|
df |
The data frame containing plot data |
dimension |
The column containing the values to compare across (e.g. quarters, types) |
measure |
The data frame column with the numerical values to plot |
groups |
The data frame column containing the different groups |
palette_type |
A string. Allowed values are |
colors |
The the colors to be used for the line(s)/point(s) |
measure_decimal |
An integer. The number of decimal places to show. |
measure_unit |
A string. Can be |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.