Displaying 1 result from an estimated 1 matches for "servdf".
Did you mean:
serif
2012 Jan 08
1
how to combine grouped data and ungrouped data in a trellis xyplot
...subscripts],col="red")
}, as.Table=T, subscripts=T)
but I'm struggling with plotting one line that is grouped and one that
isn't. When I try to pass group to the first panel.xyplot() function in the
panel=function it either does nothing or bombs out.
xyplot(cpu~dt|zone,data=servdf,ylim=c(0,100),groups=pool,auto.key=list(points=F,lines=T),type="l",
main="test",
panel=function(x,y,groups,subscripts,...){
panel.xyplot(x,y,groups,...) # would
like this to be colored based on the groups=pool
panel.line...