1

I'm trying to write the follwing on the axis of a boxplot;

boxplot(BA~Type, xlab = "Treatment Type", ylab= "Basal Area m"^"2")

How do i raise m to the power 2?

Thanks!

Phil
  • 7,287
  • 3
  • 36
  • 66
Sam Keith
  • 11
  • 2
  • See https://stackoverflow.com/questions/15736370/special-characters-and-superscripts-on-plot-axis-titles – F Trias Apr 25 '20 at 11:17
  • Or see this: https://stackoverflow.com/questions/10156417/subscripts-in-plots-in-r ... try something like `ylab=expression("Basal Area m"^2)` – Ben Apr 25 '20 at 18:44
  • Does this answer your question? [Subscripts in plots in R](https://stackoverflow.com/questions/10156417/subscripts-in-plots-in-r) – Ben Apr 25 '20 at 18:45

0 Answers0