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. Thanks, Mark T. W. Ebbert
panel.loess confidence interval
4 messages · Mark Ebbert, Gabor Grothendieck, Felix Andrews
On Sun, Jun 5, 2011 at 3:18 PM, Mark Ebbert <Mark.Ebbert at 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
Statistics & Software Consulting GKX Group, GKX Associates Inc. tel: 1-877-GKX-GROUP email: ggrothendieck at gmail.com
On 6 June 2011 06:45, Gabor Grothendieck <ggrothendieck at gmail.com> wrote:
On Sun, Jun 5, 2011 at 3:18 PM, Mark Ebbert <Mark.Ebbert at 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/
8 days later
I finally got back around to working on this again. panel.smoother worked perfectly. Thank you both for the tips.
On Jun 5, 2011, at 5:40 PM, Felix Andrews wrote:
On 6 June 2011 06:45, Gabor Grothendieck <ggrothendieck at gmail.com> wrote:
On Sun, Jun 5, 2011 at 3:18 PM, Mark Ebbert <Mark.Ebbert at 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/