[R] Non-Linear Regression on a Matrix

apjaworski@mmm.com apjaworski at mmm.com
Wed Nov 17 03:56:13 CET 2004






If your "non-linear function (A, B)" is parametric nls should do it for
you.  If you have R version 2 (perhaps even 1.9) do ?nls to see the help
page.  Older versions of R require library(nls) first.

Hope this helps,

Andy

__________________________________
Andy Jaworski
518-1-01
Process Laboratory
3M Corporate Research Laboratory
-----
E-mail: apjaworski at mmm.com
Tel:  (651) 733-6092
Fax:  (651) 736-3122


                                                                           
             Diana Abdueva                                                 
             <diana.abdueva at gm                                             
             ail.com>                                                   To 
             Sent by:                  r-help at stat.math.ethz.ch            
             r-help-bounces at st                                          cc 
             at.math.ethz.ch                                               
                                                                   Subject 
                                       [R] Non-Linear Regression on a      
             11/16/2004 08:33          Matrix                              
             PM                                                            
                                                                           
                                                                           
             Please respond to                                             
               Diana Abdueva                                               
             <diana.abdueva at gm                                             
                 ail.com>                                                  
                                                                           
                                                                           




Hi, I'm terribly sorry for submitting my primitive question, I'm a
beginner in R and was hoping to get some help re: non-linear fit.

I have a 2D data with the following structure:

A     B        C
1      1      111
1      2      121
1      3      131
2      1      141
2      2      151
2      3      161
3      1      171
3      2      181
3      3      191

I'm trying to fit C = non-linear function (A,B). I was wondering if
there's a package that would save my time of doing direct least square
estimation.

Thank you,
Diana

______________________________________________
R-help at stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html




More information about the R-help mailing list