title: How to change factor names on x axis with ggplot2 and R?
body: <p>I am plotting the interaction between multiple variables with geom_boxplot, and the resulting factor names are very long. I want to rename these factor names on the plot without changing the factors in the original data set to make the plot easier to interpret.</p>
  
  <p>As an example using the mtcars cars data set:</p>
  
  <pre><code>library(tidyverse)
  ggplot(mtcars) + geom_boxplot(aes(factor(cyl), mpg))
  </code></pre>
  
  <p>This results in a boxplot with 4, 6, and 8 cylinders as the x axis factors. What I would like to do is change those x axis factors. For example, how could I change 4 to "Four Cyl" <em>without</em> editing the original data?</p>