[R] plotmath question: y'

Peter Dalgaard p.dalgaard at biostat.ku.dk
Wed Oct 22 12:13:29 CEST 2003


"Pascal A. Niklaus" <Pascal.Niklaus at unibas.ch> writes:

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

y*minute or y*"'" should do it. 

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907




More information about the R-help mailing list