Skip to content
Prev 246232 / 398503 Next

Please, need help with a plot

although the code somehow didn't work on my Vista / R 2.8,
it did work perfectly on a XP machine / R 2.10

I've been trying to fix this for days,
Thank you very much for your help!


______________________________________________________________________
02/01/2011 19:30, David Winsemius < dwinsemius at comcast.net > wrote:

        
On Jan 2, 2011, at 1:15 PM, Ben Bolker wrote:

            
Here's the best I could come up with but will admit that there were
many failed attempts before success:

expr.vec <- as.expression(parse(text=table1$var1))
plot(x=table1$var2 ,y=1:11, xlim=c(0,20), pch=20)
text(x=table1$var2, y=1:11, labels=expr.vec, pos=4)
title(x=15, y=5, expression("Yet another way to process strings with
operators like '<=' )

(The title expression works on my machine, but perhaps not on the OP's
machine, given differences in encoding that have so far been exhibited.)
David Winsemius, MD
West Hartford, CT