spatstat (version 1.52-1)

expand.owin: 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.

Value

A window (object of class "owin").

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.

See Also

rmhexpand about expansion rules.

shift, rotate, affine for other types of manipulation.

Examples

Run this code
# NOT RUN {
   expand.owin(square(1), 9)
   expand.owin(square(1), distance=0.5)
   expand.owin(letterR, length=2)
   expand.owin(letterR, distance=0.1)
# }

Run the code above in your browser using DataCamp Workspace