[R] plotmath question: y'

Pascal A. Niklaus Pascal.Niklaus at unibas.ch
Wed Oct 22 11:50:54 CEST 2003


Hi all,

I wonder how to correctly write the following expression (it's the axis 
label in a plot command):

    ylab=expression(y' == y - bar(y) )

Somehow the single quote in y' is causing the problems, I guess because 
it is interpreted as a quote...
Does it have to be escaped? But how?

Thanks for your help

Pascal




More information about the R-help mailing list