I’m struggling with adding a superscript to the labels of a plot.
I would like to have the ‘3’ in the labels (..m^3) as superscript. I tried expression(), substitute() etc. but didn’t find the correct solution.
values <- c(2, 4, 5)
pie(values, labels = paste(values, "m^3") )
Thanks for any hint!
A bit cumbersome workaround: