[R] Error message in non linear regression model

Douglas Bates bates at stat.wisc.edu
Mon Sep 8 15:33:13 CEST 2003


anne <anne.piotet at urbanet.ch> writes:

> Hello!
> 
> Trying to fit a non linear regression model
> 
>  modF<-nlsModel(kf~3*alpha*epsilon^P, dat, list(alpha=ALPHA))

You should use nls, not nlsModel.

Also, if P is fixed then this is a linear regression model.  Why use
nonlinear regression.




More information about the R-help mailing list