0

I am using the likert package and followed this example. I wanted to use the grouping figure like they did. The group figure looks like this:

Group

I need to increase the font size of the facet strip labels (for example, "I read only if I have to"). How can I do that in R?

Also, how can we change the facet strip orders? For example, I want the orders be like (2,1,5,3,4, ...).

  • 3
    You can use the standard ggplot theme elements. In this case add `+ theme(strip.text=element_text(size=15))` and choose the `size` you desire. – eipi10 May 13 '18 at 17:18
  • Thanks. That worked :). Any suggestions on how the group orders can be changed? – rise of a phoenix May 13 '18 at 17:32
  • Don't ask a new question in comments, start a new question. – Elin May 13 '18 at 17:34
  • Set the ordering by converting the grouping variable to a factor. Use the `levels` argument to set the order. See `?factor`. There are also numerous SO questions about group ordering in ggplot2. Also see [this tutorial](https://rstudio-pubs-static.s3.amazonaws.com/7433_4537ea5073dc4162950abb715f513469.html). – eipi10 May 13 '18 at 18:33

0 Answers0