orddist                package:labdsv                R Documentation

_O_r_d_i_n_a_t_i_o_n _P_o_i_n_t _P_a_i_r-_W_i_s_e _D_i_s_t_a_n_c_e _C_a_l_c_u_l_a_t_i_o_n

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

     Calculates the pair-wise distances of all points in an ordination.
     The function is simply a wrapper for the 'dist' function, but
     simplifies managing ordinations that store their coordinates under
     different names, as well as managing the desired dimensionality of
     the calculations.

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

     orddist(x,dim)

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

       x: an ordination object from 'pca', 'pco', 'nmds', 'fso'

     dim: the desired dimensionality to be included in the calculations
          (must be <= number of dimensions of the ordinations)

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

     an object of class 'dist' is produced

_N_o_t_e:

     Ordinations are low dimensional representations of
     multidimensional spaces.  This function produces data on the
     low-dimensional distances for other analyses.

_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) # produces a vegetation data.frame
     dis.bc <- dsvdis(bryceveg,'bray/curtis') # creates a Bray/Curtis dissimilarity matrix
     pco.bc <- pco(dis.bc,2) # produces a two-dimensional Principal Coordinates Ordination object
     orddist(pco.bc,dim=2)

