Re: [R] Double expressions in plot labels

2012-01-22 Thread David Winsemius
On Jan 22, 2012, at 10:39 PM, Marcin Kozak wrote: Hi all, I wanted to do something of this sort: library(lattice) label <- expression(alpha) xx <- substitute(expression(lab %+-% type), list(lab = label, type = " type")) stripplot(Species ~ jitter(Petal.Length), iris, ylab = xx, horizontal

[R] Double expressions in plot labels

2012-01-22 Thread Marcin Kozak
Hi all, I wanted to do something of this sort: library(lattice) label <- expression(alpha) xx <- substitute(expression(lab %+-% type), list(lab = label, type = " type")) stripplot(Species ~ jitter(Petal.Length), iris, ylab = xx, horizontal=T) (The example plot itself does not make much sense, bu