View source: R/correlationCalculationFunctions.R
Perform affine transformation on two-dimensional points.
1 | affineTransform(points, translateX = 0, translateY = 0, rotate = 0, dilate = 1)
|
points |
A N-by-2 data frame representing a set of two-dimensional Cartesian points. |
translateX |
A scalar representing the amount by which to move the points in the X direction. |
rotate |
A scalar representing the angle (in radians) by which to rotate the points. |
dilate |
A scalar representing the amount by which to magnify (or shrink) the point positions relative to the center of mass. |
tranlsateY |
A scalar representing the amount by which to move the points in the Y direction. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.