Simulates Sequential Spatial Inhibition Point Process

DESCRIPTION:

Simulates SSI (sequential spatial inhibition) point process.

USAGE:

SSI(n, r)

REQUIRED ARGUMENTS:

n
number of points
r
inhibition distance

VALUE:

list of vectors of x and y coordinates

DETAILS:

uses the region set by ppinit or ppregion.

SIDE EFFECTS:

Uses the random number generator.

WARNINGS:

will never return if r is too large and it cannot place n points.

SEE ALSO:

,

EXAMPLES:

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