[R] nonlinear least square fit of a known function

John Fox jfox at mcmaster.ca
Fri Oct 25 02:31:44 CEST 2002

Dear Andy and Dave,

The nls documentation indicates that weights aren't (yet) implemented.


At 04:46 PM 10/24/2002 -0500, apjaworski at mmm.com wrote:

> > library(nls)
> > ?nls
>Andy Jaworski
>Engineering Systems Technology Center
>3M Center, 518-1-01
>St. Paul, MN 55144-1000
>Dear R community,
>I have data of x versus y and I know exactly what kind
>of function to fit the data.  I just need to fit the
>parameters with weighted nonlinear least square.
>I am sure R can do this easily, but where do I start?
>Thanks a lot in advance!!   Dave

John Fox
Department of Sociology
McMaster University
Hamilton, Ontario, Canada L8S 4M4
email: jfox at mcmaster.ca
phone: 905-525-9140x23604
web: www.socsci.mcmaster.ca/jfox

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