getVectorAngle: Gets an angle

Description Usage Arguments Value

View source: R/bezier_private_functions.R

Description

Uses a vector to get an angle by atan2.

Usage

1
getVectorAngle(x, y, x_origo = NA, y_origo = NA)

Arguments

x

The x point of the vector

y

The y point of the vector

x_origo

The x origin if other than 0

y_origo

The y origin if other than 0

Value

angle in radians (see atan2)



Gmisc documentation built on May 19, 2017, 4:53 p.m.
Search within the Gmisc 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.