konradmayer / peakfitting

0 stars 0 forks source link

Levenberg-Marquardt algorithm as default #4

Closed konradmayer closed 3 years ago

konradmayer commented 3 years ago

Use the Levenberg-Marquardt as default as it is reported to less likely fail to reach convergence than the others. It is also used by fityk as default. Is its not supported by nls() it requires to change to the fitting functions of the packages nlsLM or nlfitr.

konradmayer commented 3 years ago

apparently nlsLM is the function, not the package

minpack.lm::nlsLM()

konradmayer commented 3 years ago

changed to minpack.lm::nlsLM()