rotawin {overlapptest}R Documentation

Rotate Individual Polygons

Description

Randomly rotates individual polygons around their centroids.

Usage

rotawin(ventana)

Arguments

ventana

A multiple-polygon window with the format owin of spatstat.

Details

rotawin applies an independent random rotation to each of the polygons in a multiple-polygon owin object.

Value

rotawin returns the original owin object with the individual polygons randomly rotated.

Author(s)

Marcelino de la Cruz Rot

Examples

data(Astragalus)
plot(Astragalus)
plot(rotawin(Astragalus), add=TRUE, border=2)


[Package overlapptest version 1.3 Index]