I would like to be able to make superscripts inside a glue()
function:
glue::glue("{seq(0, 1500, by = 250)} μg/m^3")
In this way the m^3 is not evaluated, so I tried to do something like this:
glue::glue("{seq(0, 1500, by = 250)} μg/{expression(m^3)}")
What I want to do with it, is to use it as the label
argument in a scale_x_continuous()
function in ggplot2.