[R] better curve

Julian Burgos jmburgos at u.washington.edu
Wed Nov 21 18:57:09 CET 2007


Hello Mysimbaa,

If you want to fit a smooth line to your data, there are many ways to do 
it.  One option is to use splines.  See the smooth.spline() function. 
If you only want to add a line to highlight the trend in your data, that 
should be enough.  But if you want to do more serious analytical work, 
it is probably a good idea to learn about the different methods, its 
assumptions and limitations.

Julian

mysimbaa wrote:
> http://www.nabble.com/file/p13880048/Fluctuation.jpeg 
> 
> Hi R users,
> 
> I have collected data which I plot(x,y).The problem it has oscillations.
> Now i'm trying to "make better" this curve with a smooth line. And then
> collect my new datas.
> But I don't know how doing this.
> 
> Perhaps a linear regression ??
> 
> See .jpeg foto.
> 
> Thanks for any help it will be given.



More information about the R-help mailing list