pG3est-deprecated | R Documentation |
pG3est
first randomly relabels a specified percentage of points from
the original pp3
object. It then performs a 3D G
function test (G3est
) 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 "rs", "km", or "Hanisch" edge correction. |
anom |
Whether or not to retun the anomaly results. |
toSub |
The numeric vector of data to subtract for the "anom" pG3est.
Only used when |
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 G3est
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 book availible at http://spatstat.org/book.html for more info on these edge corrections.
When anom = TRUE
, the function returns the anomaly
G3est
.This means that it returns the
G3est
results with the 50th percentile subtracted
out. This centers envelopes around zero.
toSub
is an argumet to be paired with anom = TRUE
. If NULL, use
the 50th percentile of the calculated set of G3est
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.