Learn R Programming

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

nlsr (version 2021.8.19)

Functions for Nonlinear Least Squares Solutions

Description

Provides tools for working with nonlinear least squares problems. It is intended to eventually supersede the 'nls()' function in the R distribution. For example, 'nls()' specifically does NOT deal with small or zero residual problems as its Gauss-Newton method frequently stops with 'singular gradient' messages. 'nlsr' is based on the now-deprecated package 'nlmrt', and has refactored functions and R-language symbolic derivative features.

Copy Link

Version

Install

install.packages('nlsr')

Monthly Downloads

484

Version

2021.8.19

License

GPL-2

Maintainer

John C. Nash

Last Published

August 20th, 2021

Functions in nlsr (2021.8.19)

dex

Calculate expression for derivative calculations.
nlxb

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

Predictions for models specified as a formula of style y ~ (something)
model2rjfun

Create functions to calculate the residual vector or the sum of squares, possibly with derivatives.
findSubexprs

Find common subexpressions
nlsSimplify

Functions to simplify expressions.
coef.nlsr

Output model coefficients for nlsr object.
nlfb

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

Functions to take symbolic derivatives.
nlsr-package

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

Compute gradient from residuals and Jacobian.
resss

Compute sum of squares from residuals via the residual function.
print.nlsr

Print method for an object of class nlsr.
res

Evaluate residuals from an object of class nlsr.
rjfundoc

Document functions that evaluate residuals at particular parameter locations.
summary.nlsr

Summary output for nlsr object.
wrapnlsr

Provides class nls solution to a nonlinear least squares solution using the Nash Marquardt tools.