It is easier in lattice

dp <- c(1,4,3,2,5,7,9,8,9,2)
tp <- 1:10
gg <- rep(1:3, c(3,3,4))
ddff <- data.frame(dp=dp, tp=tp, gg=gg)
xyplot(dp ~ tp, groups=gg, data=ddff)

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to