getResiduals | R Documentation |
Retrieves the residuals if redundant control points were provided when creating the transformation object
getResiduals(object)
object |
Object of the class SimilarityTransformation or AffineTransformation |
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.
2-column matrix with coordinate differences
German Carrillo
Iliffe, J. and Lott, R. Datums and map projections: For remote sensing, GIS and surveying. Section 4.9.3-4. pp.135-137, 2008.
SimilarityTransformation-class
AffineTransformation-class
data(control.points)
at <- AffineTransformation(control.points[2:5])
calculateParameters(at)
getResiduals(at)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.