\Header{SSI}{Simulates Sequential Spatial Inhibition Point Process}
\keyword{spatial}{SSI}
\begin{Description}\relax
Simulates SSI (sequential spatial inhibition) point process.
\end{Description}
\begin{Usage}
\begin{verbatim}
SSI(n, r)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{n}] number of points

\item[\code{r}] inhibition distance

\end{ldescription}
\end{Arguments}
\begin{Details}\relax
uses the region set by \code{ppinit} or \code{ppregion}.
\end{Details}
\begin{Value}
list of vectors of \code{x} and \code{y} coordinates
\end{Value}
\begin{Section}{Side Effects}
uses the random number generator.
\end{Section}
\begin{Section}{Warnings}
will never return if \code{r} is too large and it cannot place
\code{n} points.
\end{Section}
\begin{References}\relax
Ripley, B. D. (1981) \emph{Spatial Statistics.} Wiley.

Venables, W. N. and Ripley, B. D. (2002)
\emph{Modern Applied Statistics with S.} Fourth edition.  Springer.
\end{References}
\begin{SeeAlso}\relax
\code{\Link{Psim}}, \code{\Link{Strauss}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
towns <- ppinit("towns.dat")
par(pty = "s")
plot(Kfn(towns, 10), type = "b", xlab = "distance", ylab = "L(t)")
lines(Kaver(10, 25, SSI(69, 1.2)))
\end{ExampleCode}
\end{Examples}

