Simulate Binomial Spatial Point Process

DESCRIPTION:

Simulate Binomial spatial point process.

USAGE:

Psim(n)

REQUIRED ARGUMENTS:

n
number of points

VALUE:

list of vectors of x and y coordinates.

DETAILS:

relies on the region being set by ppinit or ppregion.

SIDE EFFECTS:

uses the random number generator.

SEE ALSO:

,

EXAMPLES:

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