gcpVector {pedometrics} | R Documentation |
This function calculates the module and azimuth of the difference on x and y coordinates between two sets of ground control points (GCP).
gcpVector(dx, dy)
dx |
Numeric vector containing the difference on the ‘x’ coordinate between two sets of GCP. |
dy |
Numeric vector containing the difference on the ‘y’ coordinate between two sets of GCP. |
This function is suited to perform calculations for topographical coordinates only. The origin is set in the y coordinate, and rotation performed clockwise.
An object of the class data.frame
containing the module, its
square and azimuth. These three columns are named ‘module’,
‘sq.module’ and ‘azimuth’.
This function was addapted from
LoadData
.
Juan Carlos Ruiz Cuetos bilba_t@hotmail.com
Maria
Eugenia Polo Garcia mepolo@unex.es
Pablo Garcia Rodriguez
pablogr@unex.es
Alessandro Samuel-Rosa
alessandrosamuelrosa@gmail.com
Ruiz-Cuetos J.C., Polo M.E. and Rodriguez P.G. (2012). VecStatGraphs2D: Vector analysis using graphical and analytical methods in 2D. R package version 1.6. http://CRAN.R-project.org/package=VecStatGraphs2D
## Not run: gcpVector(dx = rnorm(3, 5, 10), dy = rnorm(3, 5, 10)) ## End(Not run)