knitr::opts_chunk$set( collapse = TRUE, comment = "#>" , fig.width = 7 , fig.height = 7 )
library(ratioScales) library(dplyr) library(tidyr) theme_set(theme_classic() + theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust = 1)))
# first, without logarithmic rescaling # second, with log10 transformation of y-axis
``` {r divMult plot}
<!-- Then, want to provide percDiff as a good compromise as well --> # Percent differences can work too, if an appropriate scale is used The problem with percent differences (as typically presented) is that they suggest symmetry in confusing ways, and make the large relative changes near 0 and 100 seem small. But, if an appropriate (i.e., logarithmic) scaling is used, familiar percent differences make great axis ticks. ```r
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.