Uses a vector to get an angle by atan2.
getVectorAngle(x, y, x_origo = NA, y_origo = NA)
The x point of the vector
The y point of the vector
The x origin if other than 0
The y origin if other than 0
angle in radians (see atan2)
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.