I'm not quite sure if this is what you mean but have a look at ?lowess or ?smooth. I think you might get want you want if you play around with the parameters in lowess
--- On Fri, 8/1/08, Ptit_Bleu <[EMAIL PROTECTED]> wrote: > From: Ptit_Bleu <[EMAIL PROTECTED]> > Subject: [R] Best way to select good points in a noisy signal ? > To: r-help@r-project.org > Received: Friday, August 1, 2008, 8:28 AM > Hello, > > When I plot y=f(x) from the file xy.txt ( > http://www.nabble.com/file/p18773387/xy.txt xy.txt ), I can > clearly see a > trend. > Is there a function or a package able to take the median > value of y for an > interval of x (x +/- a defined value) to plot nice graph > (at least a better > one) ? > > Thanks in advance, > Have a nice week-end, > Ptit Bleu. > > -- > View this message in context: > http://www.nabble.com/Best-way-to-select-good-points-in-a-noisy-signal---tp18773387p18773387.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > 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. __________________________________________________________________ [[elided Yahoo spam]] ______________________________________________ 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.