ordpart                package:labdsv                R Documentation

_O_r_d_i_n_a_t_i_o_n _P_a_r_t_i_t_i_o_n_i_n_g

_D_e_s_c_r_i_p_t_i_o_n:

     This function allows users to partition or classify the points in
     an ordination by identifying clusters of points with a mouse

_U_s_a_g_e:

     ordpart(ord, ax = 1, ay = 2)

_A_r_g_u_m_e_n_t_s:

     ord: an ordination of class 'pca', 'pco', or 'nmds'

      ax: the first axis number in the ordination plot

      ay: the second axis number in the ordination plot

_D_e_t_a_i_l_s:

     Given a plot of an ordination, you assign plots to clusters by
     drawing a polygon with the first mouse button to include all
     points in a given cluster.  To end that cluster, click the right
     mouse button to close the polygon.  Plots included in that cluster
     will be color-coded to indicate membership.  Start the next
     cluster by drawing another polygon.  To end, click the right mouse
     button again after closing the last polygon.  Plots within more
     than one polygon are assigned membership in the last polygon which
     includes them; plots which are not within any polygon are assigned
     membership in cluster zero.

_V_a_l_u_e:

     A integer vector of cluster membership values

_N_o_t_e:

     Although the routine could easily be adapted for any scatter plot,
     it is currently only designed for objects of class 'pca', 'pco',
     or 'nmds'

_A_u_t_h_o_r(_s):

     David W. Roberts droberts@montana.edu

_R_e_f_e_r_e_n_c_e_s:

     <URL: http://ecology.msu.montana.edu/labdsv/R/labdsv>

_E_x_a_m_p_l_e_s:

     data(bryceveg)
     data(brycesite)
     dis.bc <- dsvdis(bryceveg,'bray/curtis')
     nmds.1 <- nmds(dis.bc,5)
     plot(nmds.1)
     ## Not run: clustering <- ordpart(nmds.1)

