On 6 June 2011 06:45, Gabor Grothendieck <ggrothendi...@gmail.com> wrote: > On Sun, Jun 5, 2011 at 3:18 PM, Mark Ebbert <mark.ebb...@hci.utah.edu> wrote: >> Dear R gurus, >> >> Based on my searches I think I know the answer to this question, but I'd >> like to pose it to you. Is there an easy way to plot the confidence interval >> around a loess line using lattice? The only thing I've found is ggplot, but >> I prefer to stick with lattice out of preference. >> > > See segplot in latticeExtra
panel.smoother() in latticeExtra is probably what you are after, it is based on stat_smooth() from ggplot2. -- Felix Andrews / 安福立 http://www.neurofractal.org/felix/ ______________________________________________ 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.