pK3est-deprecated | R Documentation |
pK3est
first randomly relabels a specified percentage of points from
the original pp3
object. It then performs a 3D K
function test (K3est
) on these selected points. It
repeats this as many times as specified. These tests are run in parallel to
increase computation speed.
perc |
The fraction of points to select randomly each time out of the
original |
pattern |
The original |
nEvals |
The number of random relabelings and that should be performed. |
rmax |
See |
nrval |
See |
correction |
Either "iso", "trans", or "bord" edge correction. |
anom |
Whether or not to retun the anomaly results. |
toSub |
The numeric vector of data to subtract for the "anom" pK3est.
Only used when |
sorted |
Whether to return a sorted table of RRLs (TRUE) or an unsorted one, where the RRLs are in their original rows. |
cores |
Number of cores to use for parallel processing. If no parallel desired, set to 1. If NULL, will automatically set to the number of cores available on the machine. |
anom = FALSE
Returns a matrix containing the
data from the all of the K3est
runs on different
re-labelings. Can plot data using envPlot
.
anom = TRUE
A list of: [1] Matrix of data for all relabelings. Can
be plotted using envPlot
. [2] Vector containing the values
that were subtracted from the results at each r value. Can be used to
subtract from another set of envelopes for comparison. [3] rmax used in the
calculation. [4] nrval used in the calculation.
See Kest
or book availible
at http://spatstat.org/book.html for more info on these edge
corrections.
Isotropic edge correction. Assumes point pattern is isotropic, or that it can rotate in space without changing statistics.
Translation edge correction. Assumes translation of point pattern does not change statistics.
Border edge correction. Makes no
assumptions about data. Uses only data provided in the original point
pattern. Only evaluates K3est
when the radius of
the search stays within the domain of the point pattern itself.
When anom = TRUE
, the function returns the
anomaly K3est.This means that it returns the square root of the
K3est
results, with the 50th percentile subtracted
out. This centers envelopes around zero, and the square root standardized
variance across all r values. See book at
http://spatstat.org/book.html for a good statistical reference.
toSub
is an argument to be paired with anom = TRUE
. If NULL,
use the 50th percentile of the calculated set of
K3est
envelopes to subtract off. Otherwise, use the
second, [2], entry in the list returned from this same function. This is
how to compare envelope calculations from different point patterns. You
must subtract the same values from both data sets. toSub allows you to
input the values that were subtracted from a previous set of envelopes, for
comparison.
rapt-deprecated
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.