[R] panel.loess confidence interval

Felix Andrews felix at nfrac.org
Mon Jun 6 01:40:45 CEST 2011


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/



More information about the R-help mailing list