rotation: Transform coordinates of sites using a rotation

Description Usage Arguments Details Value Author(s) References See Also

Description

The function rotation() is used to modify coordinates of sites by a rotation with an angle equal to angle. This function is ude in deriftmap

Usage

1
rotation(coords, angle)

Arguments

coords

matrix nx2 of coordinates

angle

value of angle to use in rotation in degree

Details

Let:

x=(cos(theta),-sin(theta))

y=(sin(theta),cos(theta))

nlecoord=coords x cbind(x,y)

Value

matrix nx2 of new coordinates.

Author(s)

Thomas-Agnan C., Aragon Y., Ruiz-Gazen A., Laurent T., Robidou L.

References

Thibault Laurent, Anne Ruiz-Gazen, Christine Thomas-Agnan (2012), GeoXp: An R Package for Exploratory Spatial Data Analysis. Journal of Statistical Software, 47(2), 1-23.

See Also

angleplotmap,variocloudmap



GeoXp documentation built on May 19, 2017, 8:24 a.m.
Search within the GeoXp package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.