Psim                 package:spatial                 R Documentation

_S_i_m_u_l_a_t_e _B_i_n_o_m_i_a_l _S_p_a_t_i_a_l _P_o_i_n_t _P_r_o_c_e_s_s

_D_e_s_c_r_i_p_t_i_o_n:

     Simulate Binomial spatial point process.

_U_s_a_g_e:

     Psim(n)

_A_r_g_u_m_e_n_t_s:

       n: number of points 

_D_e_t_a_i_l_s:

     relies on the region being set by 'ppinit' or 'ppregion'.

_V_a_l_u_e:

     list of vectors of 'x' and 'y' coordinates.

_S_i_d_e _E_f_f_e_c_t_s:

     uses the random number generator.

_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:

     'SSI', 'Strauss'

_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)")
     for(i in 1:10) lines(Kfn(Psim(69), 10))

