shipunov (version 1.5)

Overlap: Polygons' overlap

Description

Measures polygons' overlap

Usage

Overlap(ppts, Hulls=TRUE)
# S3 method for Overlap
summary(object, ...)

Arguments

ppts

List with hulls information (e.g., output from Hulls())

Hulls

Did the information come from Hulls()?

object

Object of the class 'Overlap'

...

Additional arguments

Value

Object of class 'Overlap', or nothing.

Details

'Overlap()' calculates polygons (hulls) overlap (it requires 'PBSmapping' package).

If 'Hulls=FALSE', then list components with names 'centers' and 'outliers' will not be attempted to remove from 'ppts' list.

Note that summary.Overlap() calculates the arithmetic, not geometric, mean.

See Also

Hulls

Examples

Run this code
# NOT RUN {
iris.pca <- prcomp(iris[, 1:4], scale=TRUE)
iris.p <- iris.pca$x[, 1:2]
iris.h <- Hulls(iris.p[, 1:2], iris[, 5], plot=FALSE)
iris.o <- Overlap(iris.h)
summary(iris.o)
# }

Run the code above in your browser using DataLab