Learn R Programming

spatstat (version 1.23-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"), or a window (object of class "owin").
...
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.owin, rotate, shift