nlmrt: Functions for Nonlinear Least Squares Solutions

Replacement for nls() tools for working with nonlinear least squares problems. The calling structure is similar to, but much simpler than, that of the nls() function. Moreover, where nls() specifically does NOT deal with small or zero residual problems, nlmrt is quite happy to solve them. It also attempts to be more robust in finding solutions, thereby avoiding 'singular gradient' messages that arise in the Gauss-Newton method within nls(). The Marquardt-Nash approach in nlmrt generally works more reliably to get a solution, though this may be one of a set of possibilities, and may also be statistically unsatisfactory. Added print and summary as of August 28, 2012.

Author
John C. Nash [aut, cre]
Date of publication
2016-03-04 23:57:39
Maintainer
John C. Nash <nashjc@uottawa.ca>
License
GPL-2
Version
2016.3.2

View on CRAN

Man pages

coef.nlmrt
Output model coefficients for nlmrt object.
model2grfun
Generate a gradient function from a nonlinear model...
model2jacfun
Generate a Jacobian matrix function from a nonlinear model...
model2resfun
Generate a residual function from a nonlinear model...
model2ssfun
Generate a sum of squares objective function from a nonlinear...
modgr
Compute gradient from residuals and Jacobian.
modss
Compute gradient from residuals and Jacobian.
nlfb
Nash variant of Marquardt nonlinear least squares solution...
nlmrt-package
Tools for solving nonlinear least squares problems. UNDER...
nlxb
Nash variant of Marquardt nonlinear least squares solution...
print.nlmrt
Print method for an object of class nlmrt.
summary.nlmrt
Summary output for nlmrt object.
wrapnls
Nash variant of Marquardt nonlinear least squares solution...

Files in this package

nlmrt
nlmrt/inst
nlmrt/inst/examples
nlmrt/inst/examples/meyers.R
nlmrt/inst/examples/kannan.R
nlmrt/inst/examples/gfire.R
nlmrt/inst/examples/pasture.R
nlmrt/inst/examples/baglivo.R
nlmrt/inst/examples/ratgambier.csv
nlmrt/inst/examples/bass2.csv
nlmrt/inst/examples/bass2.R
nlmrt/inst/examples/ratvirginia.csv
nlmrt/inst/examples/fungi.R
nlmrt/inst/examples/raturadia.csv
nlmrt/inst/examples/eshl.R
nlmrt/inst/examples/hs25.R
nlmrt/inst/examples/ratpurnong.csv
nlmrt/inst/examples/onion.R
nlmrt/inst/dev-codes
nlmrt/inst/dev-codes/model2ssfun.R
nlmrt/inst/dev-codes/nlfb.R.130709
nlmrt/inst/dev-codes/nlsmn0.Rd
nlmrt/inst/dev-codes/form2resfromHadley.txt
nlmrt/inst/dev-codes/summary.pg.R
nlmrt/inst/dev-codes/makeFun.R
nlmrt/inst/dev-codes/nlmrttests.R
nlmrt/inst/dev-codes/nt.R
nlmrt/inst/dev-codes/f2ftext.R
nlmrt/inst/dev-codes/f2f.R
nlmrt/inst/dev-codes/mod2res120429.zip
nlmrt/inst/dev-codes/mytxtfn.R
nlmrt/inst/dev-codes/ntst.R
nlmrt/inst/dev-codes/nlsmnc.R
nlmrt/inst/dev-codes/nlsmnc.Rd
nlmrt/inst/dev-codes/nlxb.R.130710
nlmrt/inst/dev-codes/nlsmnq.Rd
nlmrt/inst/dev-codes/nlsmn0b.R
nlmrt/inst/dev-codes/nlxbreloff.R
nlmrt/inst/dev-codes/nlsmnq.R
nlmrt/inst/dev-codes/model2resfun.R.save
nlmrt/inst/dev-codes/model2resfun.R.120425
nlmrt/inst/dev-codes/nlsmn0.R
nlmrt/inst/dev-codes/seboundsnlmrtx.R
nlmrt/inst/doc
nlmrt/inst/doc/nlmrt-vignette.R
nlmrt/inst/doc/nlmrt-vignette.Rnw
nlmrt/inst/doc/nlmrt-vignette.pdf
nlmrt/NAMESPACE
nlmrt/NEWS
nlmrt/R
nlmrt/R/nlxb.R
nlmrt/R/model2ssfun.R
nlmrt/R/nlmrt.R
nlmrt/R/modgr.R
nlmrt/R/model2jacfun.R
nlmrt/R/modss.R
nlmrt/R/nlfb.R
nlmrt/R/model2resfun.R
nlmrt/R/model2grfun.R
nlmrt/R/wrapnls.R
nlmrt/vignettes
nlmrt/vignettes/nlpd.bib
nlmrt/vignettes/nlmrt-vignette.Rnw
nlmrt/MD5
nlmrt/build
nlmrt/build/vignette.rds
nlmrt/DESCRIPTION
nlmrt/man
nlmrt/man/model2ssfun.Rd
nlmrt/man/print.nlmrt.Rd
nlmrt/man/nlmrt-package.Rd
nlmrt/man/model2grfun.Rd
nlmrt/man/model2jacfun.Rd
nlmrt/man/model2resfun.Rd
nlmrt/man/modss.Rd
nlmrt/man/modgr.Rd
nlmrt/man/nlfb.Rd
nlmrt/man/nlxb.Rd
nlmrt/man/summary.nlmrt.Rd
nlmrt/man/wrapnls.Rd
nlmrt/man/coef.nlmrt.Rd