Robust Model Fitting Using the RANSAC Algorithm

Provides tools for robust regression model fitting using the RANSAC (Random Sample Consensus) algorithm. RANSAC is an iterative method to estimate parameters of a model from a dataset that contains outliers. This package allows fitting both linear lm and nonlinear nls models using RANSAC, helping users obtain more reliable models in the presence of noisy or corrupted data. The methods are particularly useful in contexts where traditional least squares regression fails due to the influence of outliers. Implementations include support for performance metrics such as RMSE, MAE, and R² based on the inlier subset. For further details, see Fischler and Bolles (1981) .


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("RANSAC")

0.1.0 by Jadson Abreu, a year ago


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


Authors: Jadson Abreu [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports stats

Suggests knitr, rmarkdown


See at CRAN