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.

Version: 0.3
Depends: R (≥ 3.5.0)
Imports: minpack.lm
Suggests: rgl, knitr, rmarkdown
Published: 2026-11-09
DOI: 10.32614/CRAN.package.onls
Author: Andrej-Nikolai Spiess [aut, cre]
Maintainer: Andrej-Nikolai Spiess <draspiess at gmail.com>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: no
Materials: NEWS
In views: Optimization
CRAN checks: onls results

Documentation:

Reference manual: onls.html , onls.pdf
Vignettes: Orthogonal Nonlinear Least-Squares Regression with onls (source, R code)

Downloads:

Package source: onls_0.3.tar.gz
Windows binaries: r-devel: onls_0.2.zip, r-release: onls_0.2.zip, r-oldrel: onls_0.2.zip
macOS binaries: r-release (arm64): onls_0.3.tgz, r-oldrel (arm64): onls_0.3.tgz, r-release (x86_64): onls_0.2.tgz, r-oldrel (x86_64): onls_0.2.tgz
Old sources: onls archive

Reverse dependencies:

Reverse suggests: ggpmisc

Linking:

Please use the canonical form https://CRAN.R-project.org/package=onls to link to this page.