an object of class
"spp" representing a spatial point pattern,
or a data frame or matrix with first two columns containing
locations of a point pattern.
OPTIONAL ARGUMENTS:
nsims
integer. Number of desired simulations.
maxdist
numeric value indicating the maximum distance at which
Khat (or
Lhat) should
be estimated.
Defaults to half the length of a diagonal of the sample's bounding box.
ndist
desired number of default distances at which to compute
Khat (or
Lhat).
Default is
100.
process
a character string with one of five possible processes for the spatial
arrangement of the resulting pattern. This must be one of
"binomial",
"poisson",
"cluster",
"Strauss", or
"SSI".
See the help file
for
make.pattern for information on parameters for each process.
add
logical flag: should the envelope be added to an already existing plot
of
Khat (or
Lhat for
Lenv)? Defaults to
TRUE.
...
other parameters as needed by the requested process.
VALUE:
invisibly returns a list with 4 numeric vectors each representing:
dist
the distances at which all values were computed.
lower
the minimum of all resulting
Khat (or
Lhat for
Lenv) for the simulations.
upper
the maximum of all resulting
Khat (or
Lhat for
Lenv) for the simulations.
average
the average of all resulting
Khat (or
Lhat for
Lenv) for the simulations.
SIDE EFFECTS:
if
add=TRUE an envelope is added to an existing plot of
Khat.