Usage Arguments Value Author(s) See Also Examples
View source: R/retina-package.r
1 | cartesian_rotation(x, y, theta)
|
x |
vector of x coordinates (int/float) |
y |
vector of y coordinates (int/float) |
theta |
(float|int) angle in degrees. |
xy Data.Frame with $x and $y rotated coordinates
Brian Cohn brian.cohn@usc.edu, Lars Schmitz
Other trig_fns: add_degrees
1 2 3 4 | x<- c(1,2,3,4,5)
y<- c(3,3,3,3,3)
theta <- 30
cartesian_rotation(x,y,theta)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.