R: Apply Vector Translation

shift {spatstat} | R Documentation

## Apply Vector Translation

### Description

Applies a vector shift of the plane to a geometrical object, such as a point pattern or a window.

### Usage

      shift(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 shift vector.

### Details

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

The object is translated by the vector `vec`.

### Value

Another object of the same type, representing the result of applying the shift.

### Author(s)

Adrian Baddeley Adrian.Baddeley@curtin.edu.au

and Rolf Turner r.turner@auckland.ac.nz

### See Also

`shift.ppp`, `shift.owin`, `rotate`, `affine`, `periodify`

[Package spatstat version 1.63-3 Index]