kdplus.test: Global test of clustering using difference in K functions

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/kdplus.test.R

Description

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.

Usage

1

Arguments

x

A kdenv object from the kdest function.

Value

A list providing the observed test statistic (kdplus) and the estimate p-value pvalue.

Author(s)

Joshua French

References

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.

See Also

kdest

Examples

1
2
3
data(grave)
kdsim = kdest(grave, nsim = 9)
kdplus.test(kdsim)


smacpod documentation built on May 20, 2017, 2:22 a.m.
Search within the smacpod package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.