unify.owin: Spatial window unit rescaler

View source: R/unify.owin.R

unify.owinR Documentation

Spatial window unit rescaler

Description

Rescales any owin to fall inside the unit square.

Usage

unify.owin(W)

Arguments

W

An object of class owin giving the spatial window to be transformed.

Details

This function is a simple wrapper for affine deployed to rescale a supplied owin to fall inside the unit square.

Value

The rescaled owin.

Examples

W <- Window(chorley)
U <- unify.owin(W)

oldpar <- par(mfrow=c(1,2))
plot(W,axes=TRUE)
plot(U,axes=TRUE)
par(oldpar)

spagmix documentation built on June 25, 2024, 9:06 a.m.