Learn R Programming

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

nlmrt (version 2013-8.10)

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-8.10

License

GPL-2

Maintainer

John C. Nash

Last Published

August 11th, 2013

Functions in nlmrt (2013-8.10)

summary.nlmrt

Summary output for nlmrt object.
model2ssfun

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

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

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

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

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

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

Print method for an object of class nlmrt.
modss

Compute gradient from residuals and Jacobian.
modgr

Compute gradient from residuals and Jacobian.
nlsmnc

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

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

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

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

Tools for solving nonlinear least squares problems. UNDER DEVELOPMENT.