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

