Residuals.ellipse: Calculate Residual Error For Current Coefficients

View source: R/fitConic.R

Residuals.ellipseR Documentation

Calculate Residual Error For Current Coefficients

Description

This function is not intended for external use. It is called from fitConic when iterating to find the best-fit ellipse.

Usage

Residuals.ellipse(XY, parG)

Arguments

XY

The x,y dataset

parG

The "G-parameter" set for the current iteration.

Value

RSS

Figure of merit, the 'norm' of the difference between the input XY data and the output "XYproj" data generated.

XYproj

Calculated dataset to be used in generating the Jacobian matrix for the next iteration of fitConic

Author(s)

Carl Witthoft <carl@witthoft.com>

References

This is a slightly modified (and debugged) version of Residuals.ellipse


fitConic documentation built on Aug. 29, 2023, 1:12 a.m.