Posts by Leonardo Castro • 123 points
1 post
-
2
votes1
answer38
viewsQ: Why does the "nls" function of R not converge even with the initial curve very close to the points?
To adjust the following points with the function whose initial kick is represented by the line: But I get the following message: Error in nls(y ~ A * (1 + erf(E * B * (x - C)/sqrt(2))) * dnorm(B *…