Question: how does nls work r?
Answer: The nls function uses a relative-offset convergence criterion that compares the numerical imprecision at the current parameter estimates to the residual sum-of-squares. This performs well on data of the form y=f(x,θ)+ϵ (with var(eps) > 0 ).