Learn R Programming

spatstat (version 1.56-1)

affine: Apply Affine Transformation

Description

Applies any affine transformation of the plane (linear transformation plus vector shift) to a plane geometrical object, such as a point pattern or a window.

Usage

affine(X, …)

Arguments

X

Any suitable dataset representing a two-dimensional object, such as a point pattern (object of class "ppp"), a line segment pattern (object of class "psp"), a window (object of class "owin") or a pixel image (object of class "im").

Arguments determining the affine transformation.

Value

Another object of the same type, representing the result of applying the affine transformation.

Details

This is generic. Methods are provided for point patterns (affine.ppp) and windows (affine.owin).

See Also

affine.ppp, affine.psp, affine.owin, affine.im, flipxy, reflect, rotate, shift