methods.layered

0th

Percentile

Methods for Layered Objects

Methods for geometrical transformations of layered objects (class "layered").

Keywords
methods, spatial
Usage
## S3 method for class 'layered':
shift(X, ...)

## S3 method for class 'layered': rotate(X, ...)

## S3 method for class 'layered': affine(X, ...)

## S3 method for class 'layered': reflect(X)

## S3 method for class 'layered': flipxy(X)

## S3 method for class 'layered': rescale(X, s)

## S3 method for class 'layered': scalardilate(X, ...)

Arguments
X
Object of class "layered".
...
Arguments passed to the relevant methods when applying the operation to each layer of X.
s
Rescaling factor passed to the relevant method for rescale. May be missing.
Details

These are methods for the generic functions shift, rotate, reflect, affine, rescale, scalardilate and flipxy for the class of layered objects.

A layered object represents data that should be plotted in successive layers, for example, a background and a foreground. See layered.

Value

  • Another object of class "layered".

See Also

layered

Aliases
  • methods.layered
  • shift.layered
  • reflect.layered
  • flipxy.layered
  • rotate.layered
  • affine.layered
  • rescale.layered
  • scalardilate.layered
Examples
L <- layered(letterR, runifpoint(20, letterR))
  plot(L)
  plot(rotate(L, pi/4))
Documentation reproduced from package spatstat, version 1.34-1, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.