rSSI                package:spatstat                R Documentation

_S_i_m_p_l_e _S_e_q_u_e_n_t_i_a_l _I_n_h_i_b_i_t_i_o_n

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

     Generate a random point pattern using the Simple Sequential
     Inhibition (SSI) process.

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

      rSSI(r, n, win = owin(c(0,1),c(0,1)), giveup = 1000)

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

       r: Inhibition distance. 

       n: Number of points to generate. 

     win: Window in which to simulate the pattern. An object of class
          '"owin"' or something acceptable to 'as.owin'. 

  giveup: Number of rejected proposals after which the algorithm should
          terminate. 

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

     This algorithm generates a realisation of the Simple Sequential
     Inhibition point process  inside the window 'win'.

     Starting with an empty window, the algorithm adds points
     one-by-one. Each new point is generated uniformly in the window
     and independently of preceding points. If the new point lies
     closer than 'r' units from an existing point, then it is rejected
     and another random point is generated.

     The algorithm terminates either when the desired number 'n' of
     points is reached, or when the current point configuration has not
     changed for 'giveup' iterations.

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

     The simulated point pattern (an object of class '"ppp"').

_A_u_t_h_o_r(_s):

     Adrian Baddeley adrian@maths.uwa.edu.au <URL:
     http://www.maths.uwa.edu.au/~adrian/> and Rolf Turner
     rolf@math.unb.ca <URL: http://www.math.unb.ca/~rolf>

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

     'rpoispp', 'rMaternI', 'rMaternII'

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

      pp <- rSSI(0.05, 200)
      ## Not run: plot(pp)

