| studpermu.test.pp3 | R Documentation |
Perform a studentised permutation test for a difference between groups of point patterns
## S3 method for class 'pp3' studpermu.test( X, formula, summaryfunction = K3est, ..., nperm = 999, use.Tbar = FALSE, rinterval = NULL, minpoints = 20, rmax = NULL, nrval = 128 )
X |
A hyperframe containing at least the point patterns and groups |
formula |
Formula describing the grouping. The left side of the formula
identifies which column of |
summaryfunction |
Summary function applicable to pp3. Defaults to
|
... |
Additional arguments passed to |
nperm |
Number of random permutations for the test; defaults to 999 |
use.Tbar |
Logical value indicating choice of test statistic. If TRUE, use the alternative test statistic, which is appropriate for summary functions with roughly constant variance, such as K(r)/r or L(r). Defaults to FALSE |
rinterval |
Numeric of length 2. Experimental |
minpoints |
Minimum permissible number of points in a point pattern for inclusion in the test calculation |
This function performs the studentized permutation test of Hahn (2012) for a difference between groups of point patterns.
A group needs to contain at least two point patterns with at least
minpoints points in each pattern.
The function returns an object of class "htest" and "studpermutest" that
can be printed and plotted. The printout shows the test result and p-value.
The plot shows the summary functions for the groups (and the group means if
requested).
An object of class "studpermutest".
Hahn, U. (2012) A studentized permutation test for the comparison of spatial point patterns. Journal of the American Statistical Association 107 (498), 754-764.
studpermu.test,
link[spatstat.core]{plot.studpermutest}
Other spatstat extensions:
G3cross(),
G3multi(),
K3scaled(),
Tstat.pp3(),
bdist.points(),
marktable.pp3(),
marktable(),
quadratcount.pp3(),
quadrats.pp3(),
rPoissonCluster3(),
rjitter.pp3(),
rjitter.ppp(),
rjitter(),
rpoint3(),
sample.pp3(),
sample.ppp(),
shift.pp3(),
studpermu.test(),
superimpose.pp3()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.