I want to plot a label that looks like this in ggplot2:
Value is $\sigma$, R^{2} = 0.6 where Value is is ordinary font, $\sigma$ is a Greek lowercase sigma letter and R^{2} = 0.6 appears as an R with a superscript 2 followed by equal sign (=) followed by 0.6. How can this be used in ggplot factors and in arguments to things like xlab,ylab of R?
Something like this :
EDIT
Another option is to use
annotatewithparse=T:EDIT
The
pastesolution may be useful if the constant 0.6 is computed during plotting.