Returns the planar angle measured from the positive x-axis towards the positive y-axis.
Arguments
- x
A numeric vector of x-coordinates.
- y
A numeric vector of y-coordinates.
- centered
A logical value (default
FALSE) determining the range of the result.FALSEmaps angles to[0, 2*pi);TRUEkeeps the nativeatan2()range of[-pi, pi].
See also
Other coordinate conversion:
cartesian_to_rho(),
cartesian_to_theta(),
polar_to_x(),
polar_to_y(),
spherical_to_z()