On Fri, Apr 23, 2010 at 12:56 PM, Jon Zadra <jr...@virginia.edu> wrote: > I took a look at xYplot() but it is beyond over-complex, at least for my > level, and the documentation isn't too clear. > > Is there a simple way to make functions like plotCI() and errbar() use the > lattice reference rather than base graphics? > > It seems like creating a plot of two lines across three time points > separated into two groups should be a very basic, simple thing for a > statistics program to do. Is there really no way to simply pass a model to > a plotting function and get something that includes error bars? I just > wonder if I"m missing how to do this "the easy way."
Try ?segplot in package latticeExtra. E.g., require(latticeExtra) segplot(interaction(group, time) ~ (means-SE) + (means+SE), centers = means, horizontal = FALSE, draw.bands = FALSE) YMMV. -Deepayan ______________________________________________ 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.