[R] anova() for nlm or nls

Roland Regoes rregoes at emory.edu
Tue Mar 26 21:42:53 CET 2002

Dear R community,

I am currently fitting non-linear models using nlm and nls.

1) I would like to compare the different models analogous to the
comparison of linear models with anova(). Is there a function in R which
allows to do that?

2) I would like to constrain the parameter ranges to positive values
only. Is there an option in nlm or nls which allows to constrain
parameter ranges? (So far I constrained them "manually" by incorporating
the constraints into the definition of the functions fitted.)

Thanks for your help,


Roland Regoes
Department of Biology
Emory University
1510 Clifton Rd
Atlanta, GA 30322

tel: (404) 727-1765
fax: (404) 727-2880
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 mailing list