[R] fitting non linear data
Jesus.Frias at dit.ie
Wed May 22 15:08:06 CEST 2002
Please have a look at the library nls (it comes with the base
distribution of R).
You'll find a good example in
http://cran.r-project.org/doc/manuals/R-intro.pdf (pp 62 is for nonlinear
You can use that document and the rest of the manuals at
to guide yourself up through R.
----- Original Message -----
From: "gregory lefebvre" <greggory.lefebvre at univ-rouen.fr>
To: <r-help at stat.math.ethz.ch>
Sent: Wednesday, May 22, 2002 11:21 AM
Subject: [R] fitting non linear data
> Hye every one,
> My question will certainly seem stupid as I am quite a beginner in R.
> I would like to trace a curve which fits these two vectors:
> x<-c( 2,3,4,5,6,7,8,10 )
> y<-c( 20, 12, 8, 6, 5, 4.5, 4, 3.8)
> It seems to follow a non linear model.
> Could anyone help me because I could'nt find the answer I am looking for
> in the FAQs.
> In advance thank you for your time.
> G. Lefebvre
> r-help mailing list -- Read
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
> This message has been scanned for viruses by the DIT
> Computer Centre MailScanner Service, and is
> believed to be clean.
This message has been scanned for viruses by the DIT
Computer Centre MailScanner Service, and is
believed to be clean.
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
More information about the R-help