Di Tanna Gian Luca <GDiTanna <at> Regione.Emilia-Romagna.it> writes:
> I'd like to fit a non linear model using weighted least squares. > I am using the gnls function but I don't know how to perform a weighted > least squares (my weights are a "simple" colum of data). In your case it probably would be easier to use nls (in stats) instead of gnls. There is an example using weighting on the help-page. Dieter Menne ______________________________________________ [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
