Skip to content
Prev 319572 / 398506 Next

plotting

On 03/15/2013 02:46 AM, li li wrote:
Hi Hanna,
You will probably want to dress this up a bit:

# rustle up some data
test.df<-data.frame(value=rnorm(80)+4,time=sample(0:23,80,TRUE),
  group=rep(LETTERS[1:4],each=20),id=rep(1:4,each=20))
# plot it
plot(test.df$time,test.df$value,col=test.df$group,pch=test.df$id)

Jim