Learn R Programming

onls (version 0.3)

Orthogonal Nonlinear Least-Squares Regression

Description

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) , but is implemented in pure R.

Copy Link

Version

Install

install.packages('onls')

Monthly Downloads

629

Version

0.3

License

GPL (>= 2)

Maintainer

Andrej-Nikolai Spiess

Last Published

November 9th, 2026

Functions in onls (0.3)

check_o

Check the fit for orthogonality of all points
print.onls

Printing function for 'onls' objects
summary.onls

Summary function for 'onls' objects
logLik_o

Log-likelihood of the errors-in-variables model
x0, y0

x0/y0-values from orthogonal nonlinear least squares regression
profile.onls

Profiles of the orthogonal-distance objective
residuals_o

The orthogonal residuals
deviance_o

Deviance of the orthogonal residuals
anova.onls

Comparison of nested orthogonal regression models
plot.onls

Plotting function for 'onls' objects
onls

Weighted Orthogonal Nonlinear Least-Squares Regression (Orthogonal Distance Regression)
doGauge

Gauge onls against published, closed-form, ODRPACK and NIST reference values
predict.onls

Predictions, confidence and prediction intervals from an onls fit
confint.onls

Confidence intervals for 'onls' model parameters