turnAngle | R Documentation |
Used in prepData
.
turnAngle(x, y, z, LLangle)
x |
First point |
y |
Second point |
z |
Third point |
LLangle |
Logical. If TRUE, the turning angle is calculated with
|
The angle between vectors (x,y) and (y,z)
## Not run:
x <- c(0,0)
y <- c(4,6)
z <- c(10,7)
turnAngle(x,y,z,LLangle=FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.