This is a very basic question and an already discussed topic here, but somehow none of the offered solutions seem to work for me: I simply want to write superscript in a vector of strings in brackets (as units).
I've tried expression(paste()) for example, but it doesn't work and I get errors for the additional brackets and ticks inside the string.
measure.labs <- c("VWC GS1 [V]", "Infiltration [ ]", "Precipitation [l m^-2]",)
Here, I would like to write "m^-2" with the "-2" in superscript. Is there a way to do this? Thank you!