Description Usage Arguments Details Value Author(s) References See Also
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
1 | rotation(coords, angle)
|
coords |
matrix nx2 of coordinates |
angle |
value of angle to use in rotation in degree |
Let:
x=(cos(theta),-sin(theta))
y=(sin(theta),cos(theta))
nlecoord=coords x cbind(x,y)
matrix nx2 of new coordinates.
Thomas-Agnan C., Aragon Y., Ruiz-Gazen A., Laurent T., Robidou L.
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.