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 

_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)")

