"Rundle, Daniel" <[EMAIL PROTECTED]> writes:

> Dear R Community,
>  
> I am attempting to perform a weighted non-linear least squares fit.
> It has already been noted that the weights option is not yet
> implemented for the nls function, but no one seems to offer any
> suggestions for getting around this problem. I am still curious if
> a) anyone has code they have written which includes a weight options
> for nls, or b) if there is another model which would allow least
> squares fitting to a non-linear function.
>  

gnls in the nlme package. Or follow the example on help(nls) immediately
after the      

## weighted nonlinear regression

(!)

-- 
   O__  ---- Peter Dalgaard             Ă˜ster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - ([EMAIL PROTECTED])                  FAX: (+45) 35327907

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to