affineTransform: Perform affine transformation on two-dimensional points.

Description Usage Arguments

View source: R/correlationCalculationFunctions.R

Description

Perform affine transformation on two-dimensional points.

Usage

1
affineTransform(points, translateX = 0, translateY = 0, rotate = 0, dilate = 1)

Arguments

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.


MirceaDavidEsc/scalefree documentation built on Nov. 9, 2020, 2:21 p.m.