[R] formula for nls

From: Jarek Jasiewicz <jarekj_at_amu.edu.pl>
Date: Wed, 23 Jan 2008 20:58:42 +0100


How to write in model's formula of type:

nls(y~k/(x^n), data=data, start=list(k=1,n=1)) i.e the problem is on x^n, I(x^n) generate error


R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Wed 23 Jan 2008 - 20:01:13 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 23 Jan 2008 - 21:30:07 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive