ordpart {labdsv} | R Documentation |
Allows users to produce clusters by visually partitioning an ordination with the mouse.
## 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)
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) |
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.
a vector of class memberships with attribute ‘clustering’
The program requires a point-in-polygon algorithm, supplied as a FORTRAN subroutine
David W. Roberts droberts@montana.edu http://ecology.msu.montana.edu/labdsv