[R] plotmath question: y'

Uwe Ligges ligges at statistik.uni-dortmund.de
Wed Oct 22 12:12:47 CEST 2003


Pascal A. Niklaus wrote:

> 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) )

   expression(y * "'"  == y - bar(y))

Uwe Ligges


> 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
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help




More information about the R-help mailing list