[R] using ylab=expression()

Gabor Grothendieck ggrothendieck at myway.com
Sun Jul 25 06:44:41 CEST 2004


Antonio Olinto <aolinto_r <at> bignet.com.br> writes:

: 
: Hi,
: 
: A question about expression()
: 
: In a plot
: 
: ylab=expression(log(C["L,L+1"] *Delta* t)) works
: 
: ylab=expression(log(C["L,L+1"] %/% t)) also works
: 
: but
: 
: ylab=expression(log(C["L,L+1"] %/% *Delta* t)) does not work?
: 
: What I'm missing? Which would be the proper sintaxe?

You have two operators %/% and * in a row.  Remove the * like this:

   ylab=expression(log(C["L,L+1"] %/% Delta* t))




More information about the R-help mailing list