Hi, I'm very new to using r and I am using very simple code for my dissertation. However, I cannot get the superscript function to work.
Using ^ doesn't work and only produces the ^ within the axis title/ graph title. I have also used * to follow to close the function. To attempt to solve the issue I have also attempted the subscript function which also doesn't appear to work.
boxplot(Data_for_Box_Plot, main = "Calcium (Ca) mgKg-1", xlab = "Fertiliser Category", ylab = "mgKg-1", outcold = "red")
This is my code, and I am trying to get the -1 as a superscript on both main and ylab.