getResiduals {vec2dtransf}R Documentation

Get residuals

Description

Retrieves the residuals if redundant control points were provided when creating the transformation object

Usage

getResiduals(object)

Arguments

object

Object of the class SimilarityTransformation or AffineTransformation

Details

Residuals are determined only if Least Squares is applied, i.e., if more than the required control points were provided. Residuals are the difference between transformed source coordinates and target coordinates of control points.

Value

2-column matrix with coordinate differences

Author(s)

German Carrillo

References

Iliffe, J. and Lott, R. Datums and map projections: For remote sensing, GIS and surveying. Section 4.9.3-4. pp.135-137, 2008.

See Also

SimilarityTransformation-class AffineTransformation-class

Examples

data(control.points)
at <- AffineTransformation(control.points[2:5])
calculateParameters(at)
getResiduals(at) 

[Package vec2dtransf version 1.1.3 Index]