Re: [R] Boxplot superscript y-axis

2012-05-29 Thread Carlos Rivera
/library/grDevices/html/plotmath.html Best wishes, Carlos Rivera -Mensaje original- De: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] En nombre de eduardo van den Berg Enviado el: martes, 29 de mayo de 2012 17:24 Para: r-help@r-project.org Asunto: [R] Boxplot superscript

[R] Boxplot superscript y-axis

2012-05-29 Thread eduardo van den Berg
Dear list, I need to include in a superscript number (-1) in a y-axis label of a boxplot graphic. I tried the following line: >boxplot(five$gr13~five$Code, xlab="Species code", ylab=substitute(paste("DGL growth (cm.yr"^{-1},")"))) It returns the following error message: Error in "DGL growth (cm