Relative Content

Tag Archive for rggplot2facet-wrapsubscript

How can I convert the panel title to subscript when using facet_wrap()?

I want to change the panel titles of the graph to subscripts when using facet_wrap(). For example, when I create a graph, I want to change the title ‘B/R1.1’ or ‘B.R2.1’ to appear as the right figure, showing only the numbers as subscripts. Could you tell me how to do that?