I'm using ggplot2
to plot a chart. I want to add an exponent to a text within the Y-axis title, so it would look like this:
Energy (kcal ∙ mol-1)
I usually write the axis title text inside labs ()
and its aesthetic inside theme (axis.title.y = element_text ())
. I've seen this answer, but I couldn't understand any of it...