nnspat: nnspat: A package for NN Methods and Their Use in Testing...

nnspatR Documentation

nnspat: A package for NN Methods and Their Use in Testing Spatial Patterns

Description

nnspat is a package for computation of spatial pattern tests based on NN relations and generation of various spatial patterns.

Details

The nnspat package contains the functions for segregation/association tests based on nearest neighbor contingency tables (NNCTs), and tests for species correspondence, NN symmetry and reflexivity based on the corresponding contingency tables and functions for generating patterns of segregation, association, uniformity and various non-random labeling (RL) patterns for disease clustering for data in two (or more) dimensions. See (\insertCitedixon:1994,ceyhan:eest-2010,ceyhan:jkss-posthoc-2017;textualnnspat).

The nnspat functions

The nnspat functions can be grouped as Auxiliary Functions, NNCT Functions, SCCT Functions, RCT Functions NN-Symmetry Functions and the Pattern (Generation) Functions.

Auxiliary Functions

Contains the auxiliary functions used in NN methods, such as indices of NNs, number of shared NNs, Q, R and T values, and so on. In all these functions the data sets are either matrices or data frames.

NNCT Functions

Contains the functions for testing segregation/association using the NNCT. The types of the tests are cell- specific tests, class-specific tests and overall tests of segregation. See (\insertCiteceyhan:stat-neer-class2009,ceyhan:exact-NNCT,ceyhan:eest-2010,ceyhan:SJScorrected2010,ceyhan:jnps-NNCT-2010,ceyhan:jkss-posthoc-2017;textualnnspat).

SCCT Functions

Contains the functions used for testing species correspondence using the NNCT. The types are NN self and self-sum tests and the overall test of species correspondence. See (\insertCiteceyhan:NNCorrespond2018;textualnnspat).

RCT Functions

Contains the functions for testing reflexivity using the reflexivity contingency table (RCT). The types are NN self reflexivity and NN mixed-non reflexivity. See (\insertCiteceyhan:NNreflexivity2017,ceyhan:NNreflex1D2018;textualnnspat).

Symmetry Functions

Contains the functions for testing NN symmetry using the NNCT and Q-symmetry contingency table. The types are NN symmetry and symmetry in shared NN structure. See (\insertCiteceyhan:SWJ-spat-sym2014;textualnnspat).

Pattern Functions

Contains the functions for generating and visualization of spatial patterns of segregation, association, uniformity clustering and non-RL. See (\insertCiteceyhan:SiM-seg-ind2014,ceyhan:serra-2014;textualnnspat).

References

\insertAllCited

nnspat documentation built on Aug. 30, 2022, 9:06 a.m.