Logarithmic axis scales can clearly communicate multiplicative changes; they can also confuse. ratioScales annotates logarithmic axis scales with tickmarks that denote proportional and multiplicative change simply and explicitly.
The main function in this package, scale_*_ratio()
, is ggplot-friendly
and works similarly to existingscale_*_*
functions from ggplot2
and scales.
For examples and to learn more, please visit https://mikeroswell.github.io/ratioScales/
You can install the development version of ratioScales from GitHub with:
# install.packages("remotes")
remotes::install_github("mikeroswell/ratioScales")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.