ordpart {labdsv}R Documentation

Ordination Partitioning

Description

Allows users to produce clusters by visually partitioning an ordination with the mouse.

Usage

## S3 method for class 'pca':
ordpartordpart(pca, ax = 1, ay = 2)
## S3 method for class 'pco':
ordpartordpart(pco, ax = 1, ay = 2)
## S3 method for class 'nmds':
ordpartordpart(nmds, ax = 1, ay = 2)

Arguments

pca an object of class ‘pca’ produced by pca
pco an object of class ‘pco’ produced by pco
nmds an object of class ‘nmds’ produced by nmds
ax dimension to use for X axis (must match plot)
ay dimension to use for Y axis (must match plot)

Details

Allows the user to draw an irregular polygon around a set of points with the mouse to define a cluster. As many clusters as desired can be defined, and point membership in each cluster is color-coded as clusters are defined. Polygon vertices are drawn with first mouse button; the second mouse button closes the polygon. When all clusters are defined the second mouse button ends the routine.

Value

a vector of class memberships with attribute ‘clustering’

Note

The program requires a point-in-polygon algorithm, supplied as a FORTRAN subroutine

Author(s)

David W. Roberts droberts@montana.edu http://ecology.msu.montana.edu/labdsv


[Package labdsv version 1.0-1 Index]