Non-Linear Regression with Brute Force

Adds brute force and multiple starting values to nls.


The nls2 package has a single function, nls2, which can be used to 
sample an nls formula using grid, uniform random or Latin Hypercube sampling
returning the best result or all of them.  This can be useful for
generating starting values for nls.

It can also evaluate an nls formula at a point where the Jacobian is singular
(which cannot be done in nls).  This can be used to identify which parameters
are troublesome.  (See example 4 in the nls2 help file.)

It is easy to use for those familiar with nls since it has the same set of
arguments plus all=.  The algorithm= and start= arguments are expanded to
allow specificaiton of the additional functionality.

See the INSTALL file for installation instructions and the ?nls2 help file
for detailed documentation.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("nls2")

0.3-4 by G. Grothendieck, 2 years ago


https://github.com/ggrothendieck/nls2


Report a bug at https://github.com/ggrothendieck/nls2/issues


Browse source code at https://github.com/cran/nls2


Authors: G. Grothendieck , R Core Team (nls)


Documentation:   PDF Manual  


GPL-2 license


Depends on proto, stats

Suggests nlstools, lhs, CPoptim


Imported by AdIsMF, BAT, ImVol, PUPAK, PUPMSI, adsoRptionCMF, adsoRptionCV, beezdemand, ivdtools, mstherm, rBiasCorrection.

Suggested by nlraa.


See at CRAN