ppinit                package:spatial                R Documentation

_R_e_a_d _a _P_o_i_n_t _P_r_o_c_e_s_s _O_b_j_e_c_t _f_r_o_m _a _F_i_l_e

_D_e_s_c_r_i_p_t_i_o_n:

     Read a file in standard format and create a point process object.

_U_s_a_g_e:

     ppinit(file)

_A_r_g_u_m_e_n_t_s:

    file: string giving file name 

_D_e_t_a_i_l_s:

     The file should contain

     the number of points
      a header (ignored)
      xl xu yl yu scale
      x y (repeated n times)

_V_a_l_u_e:

     class '"pp"' object with components 'x', 'y', 'xl', 'xu', 'yl',
     'yu'

_S_i_d_e _E_f_f_e_c_t_s:

     Calls 'ppregion' to set the domain.

_R_e_f_e_r_e_n_c_e_s:

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

_S_e_e _A_l_s_o:

     'ppregion'

_E_x_a_m_p_l_e_s:

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

