[R] Superscript in graph text

Jake William Andrae jake.andrae at adelaide.edu.au
Thu Jan 19 01:44:36 CET 2017


I've added some statistical information as text to some graphs, but I'm having a really hard time making the 2 in the R2 label superscript. Does anyone have any suggestions?

mtext(paste("R2 = ", R2), adj=0, line=1, col="black", cex=0.7)

Kind regards

Jake Andrae
PhD Candidate
Geology & Geophysics - Sprigg Geobiology Centre
Department of Earth Science
School of Physical Sciences
The University of Adelaide, AUSTRALIA 5005
Phone: 0407701565
Email: jake.andrae at adelaide.edu.au

	[[alternative HTML version deleted]]

More information about the R-help mailing list