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