nn                 package:prabclus                 R Documentation

_M_e_a_n _d_i_s_t_a_n_c_e _t_o _k_t_h _n_e_a_r_e_s_t _n_e_i_g_h_b_o_r

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

     Computes the mean of the distances from each point to its 'ne'th
     nearest neighbor.

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

     nn(distmat, ne = 1)

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

 distmat: symmetric distance matrix.

      ne: integer.

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

     numerical.

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

     Christian Hennig hennig@math.uni-hamburg.de <URL:
     http://www.math.uni-hamburg.de/home/hennig/>

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

     Hennig, C. and Hausdorf, B. (2002) Distance-based parametric
     bootstrap tests for clustering of species ranges, submitted, <URL:
     http://stat.ethz.ch/Research-Reports/110.html>.

_S_e_e _A_l_s_o:

     'prabtest'

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

     data(kykladspecreg)
     # Note: If you do not use the installed package, replace this by
     # kykladspecreg <- read.table("(path/)kykladspecreg.dat")
     j <- jaccard(t(kykladspecreg))
     nn(j,4)

