# shift.owin

From spatstat v1.5-9
by Adrian Baddeley

##### Apply Vector Translation To Window

Applies a vector shift to a window

- Keywords
- spatial

##### Usage

`shift.owin(X, vec=c(0,0), ...)`

##### Arguments

- X
- Window (object of class
`"owin"`

). - vec
- Vector of length 2 representing a translation.
- ...
- Ignored

##### Details

The window is translated by the vector `vec`

.
This is a method for the generic function `shift`

.

##### Value

- Another window (of class
`"owin"`

) representing the result of applying the vector shift.

##### See Also

##### Examples

```
W <- owin(c(0,1),c(0,1))
X <- shift(W, c(2,3))
plot(W)
# no discernible difference except coordinates are different
```

*Documentation reproduced from package spatstat, version 1.5-9, License: GPL version 2 or newer*

### Community examples

Looks like there are no examples yet.