Description Usage Arguments Examples
View source: R/scale_customised.R
This uses scale_* functions from ggplot2 and creates variations for comma, percent and dollar scales. Moves the axis to 0
1 | scale_fill_pct(accuracy = 5L, ...)
|
accuracy |
Accuracy level for scale. Defaults to 5L |
... |
Passed to ggplot2 scale function |
1 2 3 4 5 6 7 8 9 10 11 12 | scale_fill_pct()
scale_fill_pct(accuracy = 0.1)
scale_fill_comma()
scale_fill_dollar()
scale_x_pct()
scale_x_pct(accuracy = 0.1)
scale_x_comma()
scale_x_dollar()
scale_y_pct()
scale_y_pct(accuracy = 0.1)
scale_y_comma()
scale_y_dollar()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.