calcangle.Rd
This function calculates the angle (in degrees) between two vectors, x1 and x2.
calcangle(x1, x2)
A numeric vector.
A numeric value representing the angle between the two vectors in degrees.
calcangle(c(1, 2), c(2, 2)) #> [1] 18.43495