Skip to content
Prev 319531 / 398506 Next

plotting

I just appropriated your data set and tried it in ggplot2 and your objection looks valid there as well.

And Michael was right, the shape command can go in the first aes statement.

  
library(ggplot2)    
p  <-  ggplot(dta  , aes(time, value, 
        shape = as.factor(id) , colour =as.factor(group ))) + 
        geom_point()
  p 

John Kane
Kingston ON Canada
____________________________________________________________
GET FREE SMILEYS FOR YOUR IM & EMAIL - Learn more at http://www.inbox.com/smileys
Works with AIM?, MSN? Messenger, Yahoo!? Messenger, ICQ?, Google Talk? and most webmails