Description Usage Arguments Details Value Author(s) Examples
This function takes a set of points, x and y, and rotates them by a centroid determined by the centroid function.
1 |
x |
the x coordinates. |
y |
the y coordinates. |
deg |
the degree of rotation specified in degrees (converted internally to radians). |
centroid.fun |
a function applied to |
The centroid function determines the basis by which the coordinates are translated. In general, users will want this to be the mean of x and the mean of y (the default). However, special cases may require different planar orbits or rotations. For example, to set the centroid to the origin (0,0), then set centroid.fun=function(m) m-m
x.rot |
new x coordinates. |
y.rot |
new y coordinates. |
Christopher Steven Marcum
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.