Skip to content

curve fitting

2 messages · Rachid Cheddadi, Martin Maechler

#
Hi,
I have a simple set of two columns data (x,y) and I would like to find 
the equation which provides the best fit using R (without any 
preconceived idea about any polynomial or exponential or whatever 
function).
Any help please?
Thanks Rachid
#
Rachid> Hi, I have a simple set of two columns data (x,y)
    Rachid> and I would like to find the equation which provides
    Rachid> the best fit using R (without any preconceived idea
    Rachid> about any polynomial or exponential or whatever
    Rachid> function).  Any help please?  Thanks Rachid --

Have you looked at

     library(modreg)
     help(smooth.spline)
?
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._