Deepayan Sarkar <deepayan.sarkar <at> gmail.com> writes:

> 
> On 10/18/06, juan f poyatos <jpoyatos <at> cnio.es> wrote:
> > Dear all,
> > I am trying to include confidence intervals in a xyplot.
> >
...
 
> Well, panel.locfit doesn't have any options to draw confidence bands,
> so you'll have to write a panel function that does. Shouldn't be hard
> to extend panel.locfit if you know how to extract that information
> from a locfit object.

plot.locfit has bands. I think Juan mixed trellis and standard plot 
documentation.


x <- rnorm(100)
y <- dnorm(x) + rnorm(100) / 5
plot(locfit(y~x), band="global")

______________________________________________
[email protected] 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.

Reply via email to