kdplus.test | R Documentation |
kdplus.test
performs a global test of clustering
for comparing cases and controls using the method of
Diggle and Chetwynd (1991). It relies on the difference
in estimated K functions.
kdplus.test(x)
x |
A |
A list providing the observed test statistic
(kdplus
) and the estimate p-value
pvalue
.
Joshua French
Waller, L.A. and Gotway, C.A. (2005). Applied Spatial Statistics for Public Health Data. Hoboken, NJ: Wiley.
Diggle, Peter J., and Amanda G. Chetwynd. "Second-order analysis of spatial clustering for inhomogeneous populations." Biometrics (1991): 1155-1163.
kdest
data(grave)
# construct envelopes for differences in estimated K functions
kdenv = kdest(grave, nsim = 9)
kdplus.test(kdenv)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.