[R] How using the weights argument in nls2?

2010-09-02 Thread Ivan Allaman
Good morning gentlemen! How using a weighted model in nls2? Values with the nls are logical since values with nls2 are not. I believe that this discrepancy is due to I did not include the weights argument in nls2. Here's an example: MOISTURE - c(28.41640, 28.47340, 29.05821, 28.52201,

Re: [R] How using the weights argument in nls2?

2010-09-02 Thread Gabor Grothendieck
On Thu, Sep 2, 2010 at 11:09 AM, Ivan Allaman ivanala...@yahoo.com.br wrote: Good morning gentlemen! How using a weighted model in nls2? Values with the nls are logical since values with nls2 are not. I believe that this discrepancy is due to I did not include the weights argument in nls2.