Re: [R] how to combine grouped data and ungrouped data in a trellis xyplot

2012-01-09 Thread Mike Dahman
Thanks Deepayan. That did the trick. xyplot(cpu~dt|zone,data=filt_zone_df,ylim=c(0,100),groups=pool, auto.key=list(columns=min(4,length(unique(filt_zone_df$pool))),lines=T,points=F), type="l", main="Test Chart", ylab="% Utilization", panel=functi

Re: [R] how to combine grouped data and ungrouped data in a trellis xyplot

2012-01-09 Thread Deepayan Sarkar
On Sun, Jan 8, 2012 at 9:45 AM, Mike Dahman wrote: > I'm hoping the community knowledge can help me out here. I have found great > value in R, especially using it to generate charts, but I am still scaling > the learning curve in a number of ways. > > I am looking plot one grouped line and one ung

[R] how to combine grouped data and ungrouped data in a trellis xyplot

2012-01-07 Thread Mike Dahman
I'm hoping the community knowledge can help me out here. I have found great value in R, especially using it to generate charts, but I am still scaling the learning curve in a number of ways. I am looking plot one grouped line and one ungrouped line in a lattice plot. I can plot one grouped line l