Kfn                 package:spatial                 R Documentation

_C_o_m_p_u_t_e _K-_f_n _o_f _a _P_o_i_n_t _P_a_t_t_e_r_n

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

     Actually computes L = sqrt(K/pi).

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

     Kfn(pp, fs, k=100)

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

      pp: a list such as a pp object, including components 'x' and 'y' 

      fs: full scale of the plot 

       k: number of regularly spaced distances in (0, 'fs') 

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

     relies on the domain D having been set by 'ppinit' or 'ppregion'.

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

     A list with components

       x: vector of distances 

       y: vector of L-fn values 

       k: number of distances returned - may be less than 'k' if 'fs'
          is too large 

    dmin: minimum distance between pair of points 

      lm: maximum deviation from L(t) = t 

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

     Ripley, B. D. (1981) _Spatial Statistics._ Wiley.

     Venables, W. N. and Ripley, B. D. (2002) _Modern Applied
     Statistics with S._ Fourth edition.  Springer.

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

     'ppinit', 'ppregion', 'Kaver', 'Kenvl'

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

     towns <- ppinit("towns.dat")
     par(pty="s")
     plot(Kfn(towns, 10), type="s", xlab="distance", ylab="L(t)")

