Learn R Programming

⚠️There's a newer version (2016.3.2) of this package.Take me there.

nlmrt (version 2013-9.24)

Functions for nonlinear least squares solutions

Description

nlmrt provides tools for working with nonlinear least squares problems using a calling structure 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.

Copy Link

Version

Install

install.packages('nlmrt')

Monthly Downloads

214

Version

2013-9.24

License

GPL-2

Maintainer

John C. Nash

Last Published

May 5th, 2014

Functions in nlmrt (2013-9.24)

nlsmn0

Nash variant of Marquardt nonlinear least squares solution via qr linear solver.
nlxb

Nash variant of Marquardt nonlinear least squares solution via qr linear solver.
modgr

Compute gradient from residuals and Jacobian.
nlfb

Nash variant of Marquardt nonlinear least squares solution via qr linear solver.
nlsmnc

Nash variant of Marquardt nonlinear least squares solution via qr linear solver.
summary.nlmrt

Summary output for nlmrt object.
coef.nlmrt

Output model coefficients for nlmrt object.
print.nlmrt

Print method for an object of class nlmrt.
nlmrt-package

Tools for solving nonlinear least squares problems. UNDER DEVELOPMENT.
model2resfun

Generate a residual function from a nonlinear model expression and a vector of named parameters.
modss

Compute gradient from residuals and Jacobian.
model2ssfun

Generate a sum of squares objective function from a nonlinear model expression and a vector of named parameters.
model2grfun

Generate a gradient function from a nonlinear model expression and a vector of named parameters.
nlsmnq

Nash variant of Marquardt nonlinear least squares solution via qr linear solver.
wrapnls

Nash variant of Marquardt nonlinear least squares solution via qr linear solver.
model2jacfun

Generate a Jacobian matrix function from a nonlinear model expression and a vector of named parameters.