expand.owin: Apply Expansion Rule

View source: R/rmhexpand.R

expand.owinR Documentation

Apply Expansion Rule

Description

Applies an expansion rule to a window.

Usage

 expand.owin(W, ...)

Arguments

W

A window.

...

Arguments passed to rmhexpand to determine an expansion rule.

Details

The argument W should be a window (an object of class "owin").

This command applies the expansion rule specified by the arguments ... to the window W, yielding another window.

The arguments ... are passed to rmhexpand to determine the expansion rule.

For other transformations of the scale, location and orientation of a window, see shift, affine and rotate.

Value

A window (object of class "owin").

Author(s)

\adrian

and \rolf

See Also

rmhexpand about expansion rules.

shift, rotate, affine for other types of manipulation.

Examples

   expand.owin(square(1), 9)
   expand.owin(square(1), distance=0.5)
   expand.owin(letterR, length=2)
   expand.owin(letterR, distance=0.1)

spatstat.random documentation built on Sept. 30, 2024, 9:46 a.m.