math_quadrant_vector | R Documentation |
Finds the quadrant of vector. If the vector is a principle axis, it returns the angle in degrees.
math_quadrant_vector(x)
x |
vector containing the coordinates |
Returns Quadrant of vector(s)
Florian Wagner florian.wagner@wagnius.ch
math_quadrant_vector(c(1,1))
x <- expand.grid(x = -1:1, y = -1:1)|>as.matrix()
cbind(x, result = x|>apply(1,math_quadrant_vector))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.