Join us for
RADAR: AI Edition

GeoXp (version 1.6.2)

rotation: Transform coordinates of sites using a rotation

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

rotation(coords, angle)

Arguments

coords
matrix $nx2$ of coordinates
angle
value of angle to use in rotation in degree

Value

matrix $nx2$ of new coordinates.

Details

Let: x=(cos(θ),sin(θ)) y=(sin(θ),cos(θ)) nlecoord=coords×cbind(x,y)

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