onls: Orthogonal Nonlinear Least-Squares Regression

Fits n-dimensional data by means of orthogonal nonlinear least-squares using Levenberg-Marquardt minimization, with a solver that exploits the block structure of the problem as 'ODRPACK' does, so that its cost grows linearly with the number of observations, and provides functionality for fit diagnostics and plotting. Delivers the same results as the 'ODRPACK' Fortran implementation described in Boggs et al. (1989) <doi:10.1145/76909.76913>, but is implemented in pure R.

Package details

AuthorAndrej-Nikolai Spiess [aut, cre]
MaintainerAndrej-Nikolai Spiess <draspiess@gmail.com>
LicenseGPL (>= 2)
Version0.3
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("onls")

Try the onls package in your browser

Any scripts or data that you put into this service are public.

onls documentation built on Nov. 9, 2026, 5:06 p.m.