calcangle | R Documentation |
This function calculates the angle (in degrees) between two vectors, x1 and x2.
calcangle(x1, x2)
x1 |
A numeric vector. |
x2 |
A numeric vector. |
A numeric value representing the angle between the two vectors in degrees.
calcangle(c(1, 2), c(2, 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.