Functions for Nonlinear Least Squares Solutions - Updated 2022

Provides tools for working with nonlinear least squares problems. For the estimation of models reliable and robust tools than nls(), where the the Gauss-Newton method frequently stops with 'singular gradient' messages. This is accomplished by using, where possible, analytic derivatives to compute the matrix of derivatives and a stabilization of the solution of the estimation equations. Tools for approximate or externally supplied derivative matrices are included. Bounds and masks on parameters are handled properly.


This repo to allow access to others to working files in nlsr package by J C Nash as of 2022-9-1.

Attempts to alias wrapnlsr() as nlsr() have not been successful. However, explicit copy of code from wrapnlsr() to nlsr() with name changes gives a sane package. Attempts with

nlsr <- wrapnlsr

gave check errors, mainly w.r.t. the .Rd manual files.

JN

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("nlsr")

2026.4.29 by John C Nash, 6 months ago


Browse source code at https://github.com/cran/nlsr


Authors: John C Nash [aut, cre] , Duncan Murdoch [aut] , Fernando Miguez [ctb] , Arkajyoti Bhattacharjee [ctb]


Documentation:   PDF Manual  


GPL-2 license


Imports digest

Suggests minpack.lm, optimx, numDeriv, knitr, rmarkdown, markdown, Ryacas, Deriv, microbenchmark, MASS, ggplot2, nlraa


Imported by beezdemand, genSEIR, usl.


See at CRAN