Learn R Programming

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

nlsr (version 2019.9.7)

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

492

Version

2019.9.7

License

GPL-2

Maintainer

John C. Nash

Last Published

September 8th, 2019

Functions in nlsr (2019.9.7)

print.nlsr

Print method for an object of class nlsr.
resgr

Compute gradient from residuals and Jacobian.
rjfundoc

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

Summary output for nlsr object.
resss

Compute sum of squares from residuals via the residual function.
wrapnlsr

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

Find common subexpressions
res

Evaluate residuals from an object of class nlsr.
nlfb

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)
nlsr-package

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

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

Functions to take symbolic derivatives.
nlxb

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

Calculate expression for derivative calculations.
nlsSimplify

Functions to simplify expressions.
coef.nlsr

Output model coefficients for nlsr object.