[R] Non linear regression with 2 explanatory variables

Roland Rau roland.rproject at gmail.com
Wed Jan 16 17:13:26 CET 2008


Gavin Simpson wrote:
> hits=-2.6 tests=BAYES_00
> X-USF-Spam-Flag: NO
> 
> On Wed, 2008-01-16 at 11:02 +0100, Janice Kielbassa wrote:
>> Hello!
>>
>> I want to do a non-linear regression with 2 explanatory variables 
>> (something like : length ~ a * time * exp( b* temperature)), having a 
>> data set (length, time, temperature). Which function could I use (I 
>> tried nls but I think it doesn't work)
> 
> Janice, I'll start by saying I can't help you as I have never used nls()
> myself and I am not familiar with this type of analysis.
> 

maybe it helps if you have a look at Chapter 10 "Nonlinear Models" by 
Douglas M. Bates and John M. Chambers in: John M. Chambers, Trevor J. 
Hastie (Eds.): Statistical Models in S. Chapman & Hall/CRC , 1992

Best,
Roland




More information about the R-help mailing list