Nearest Neighbor Methods for Spatial Patterns
Pielou's First Type of NN Symmetry Test with Chi-square Approximation ...
Chi-square Test for Segregation Coefficients
pdf of the Bivariate Normal Distribution
Auxiliary Functions for Computing Covariances Between Cell Counts in t...
Dixon's NN Symmetry Test with Chi-square Approximation for multiple cl...
Base Class-specific Chi-square Tests based on NNCTs
Overall Segregation Tests for NNCTs
Pielou's Cell-specific Segregation Test with Normal Approximation (for...
Class-specific Chi-square Tests based on NNCTs
Closeness or Proximity Matrix for Tango's Spatial Clustering Tests
Covariance Matrix of the Self Entries in a Species Correspondence Cont...
Functions for Covariances of the Entries of the Types I, III and IV TC...
Asymptotic Covariance between and Values
Asymptotic Variance of Cuzick and Edwards Test statistic
Entries for the Types I-IV cell-specific tests
Cuzick and Edwards Test statistic
Cuzick and Edwards Test statistic
Cuzick and Edwards Test statistic
Covariance Matrix of the Cell Counts in an NNCT
Covariance Matrix of the Differences of the Off-Diagonal Cell Counts i...
Covariance Matrix of Segregation Coefficients in a Multi-class Case
Covariance Matrix of the Entries of the Type I-IV TCTs
Conversion of the Covariance Matrix of the Row-wise Vectorized Cell Co...
Covariance matrix for values in Tcomb
Finite Sample Covariance between and Values
Interpoint Distance Matrix for Standardized Data
Converts a lower triangular distance matrix to a full distance matrix
.onAttach start message
.onLoad getOption package settings
The Euclidean distance between two vectors, matrices, or data frames
Expected Values of the Self Entries in a Species Correspondence Contin...
Expected Values of the Cell Counts in NNCT
Expected Values of the Cell Counts in RCT
Expected Value for Cuzick & Edwards Test Statistic
Expected Values of the Types I-IV cell-specific tests
Expected Values of the Type I cell-specific tests
Expected Value of Cuzick and Edwards Test statistic
Exact version of Pearson's chi-square test on NNCTs
-value correction to the one-sided version of exact NNCT test
-value correction to the two-sided version of exact NNCT test
Functions for the and k NN distances
Functions for the and k NN distances
Dixon's Overall Test of Segregation for NNCT
Types I-IV Overall Tests of Segregation for NNCT
The functions for probability of selecting a number of points from res...
Species Correspondence Contingency Table (SCCT)
Pielou's Segregation Coefficients for NNCTs
Variances of the Self Entries in a Species Correspondence Contingency ...
Functions for Variances of Cell Counts in the Types I, III and IV TCTs
Aij matrices for computation of Moments of Cuzick and Edwards Te...
Correction Matrices for the Covariance Matrix of NNCT entries
Expected Value for Cuzick and Edwards Test statistic
Expected Value for Cuzick and Edwards Test statistic
Correction Matrices for the NNCT entries
NN Class-specific Chi-square Tests based on NNCTs
Functions for one versus rest type labeling
Pielou's Overall Test of Segregation for NNCT (for Sparse Sampling)
Functions for the number of shared NNs, shared NN vector, and the numb...
Functions for row and column sums of a matrix
Variance of Cuzick and Edwards Test statistic
Variance of Cuzick and Edwards Test statistic
values for Tango's test statistic
Reflexivity Test with Chi-square Approximation
Overall Species Correspondence Test with Chi-square Approximation
-values for Cell-specific Z Test Statistics for NNCT
Dixon's Cell-specific Z Tests of Segregation for NNCT
Cell-specific Z Tests of Segregation for NNCTs
Types I-IV Cell-specific Z Tests of Segregation based on NNCTs
Directional Segregation Test for Two Classes with Normal Approximation
Directional Segregation Test for Two Classes with Normal Approximation...
Mixed-Non-Reflexivity Test with Normal Approximation
Z Tests for NN Reflexivity
Self-Reflexivity Tests with Normal Approximation
Cumulative Species Correspondence Test with Normal Approximation
Dixon's Pairwise NN Symmetry Test with Normal Approximation
Pielou's Pairwise NN Symmetry Test with Normal Approximation (for Spar...
Dixon's NN Symmetry Test with Normal Approximation for Two Classes
Pielou's First Type of NN Symmetry Test with Normal Approximation for ...
Z Tests for Segregation Coefficients
Z Tests for Segregation Indices
Self-Reflexivity Test with Normal Approximation
Z-Test for Cuzick and Edwards statistic
Index Matrix for Computing the Covariance of Dixon's Overall NN Symmet...
Index Matrix for Computing the Covariance of Segregation Coefficients
Euclidean Interpoint Distance Matrix
Interpoint Distance Matrix
Finding the indices of the k NNs of a given point
Conversion of a Matrix to a Vector
Square root of a matrix
Vector of Shared NNs and Number of Reflexive NNs
Finding the index of the NN of a given point
Bootstrap Nearest Neighbor Contingency Table (NNCT)
Nearest Neighbor Contingency Table (NNCT)
Nearest Neighbor Contingency Table (NNCT) with (only) base points rest...
Distances between subjects and their NNs
Distances between subjects from class and their NNs from class
nnspat: A package for NN Methods and Their Use in Testing Spatial Patt...
Finding the index of the NN of a given point among a subset of points
Value (found with the definition formula)
Value
Keeping the pair of the specified labels in the data
Smallest and Largest Distances in a Distance Matrix
Probability of k items selected from the class with size
Plot a Clusters object
Plot a SpatPatterns object
Print a summary of a cellhtest object
Print a summary of a Chisqtest object
Print a summary of a classhtest object
Print a Clusters object
Print a summary of a refhtest object
Print a SpatPatterns object
Print a summary of a Clusters object
Print a summary of a SpatPatterns object
Probability of the current nearest neighbor contingency table
Number of Shared and Reflexive NNs
-symmetry Contingency Table (QCT)
Pielou's Second Type of NN Symmetry Test with Chi-square Approximation
Generation of Points Associated with a Given Set of Points
Generation of Points Associated in the Type C Sense with a Given Set o...
Generation of Points Associated in the Type G Sense with a Given Set o...
Generation of Points Associated in the Type I Sense with a Given Set o...
Generation of Points Associated in the Type U Sense with a Given Set o...
Reflexivity Contingency Table (RCT)
Generation of Points with Clusters along the First Diagonal
Generation of Points with Clusters along the Horizontal Axis
Non-Random Labeling of a Given Set of Points
Type I Non-Random Labeling of a Given Set of Points
Type II Non-Random Labeling of a Given Set of Points
Type III Non-Random Labeling of a Given Set of Points
Type IV Non-Random Labeling of a Given Set of Points
Generation of Points with Rotational Clusters
Generation of Points under Segregation of Two Classes
Generation of Points from Self Correspondence Pattern
Generation of Uniform Points in a Circle
Dixon's Segregation Indices for NNCTs
The Shared NN Vectors for Multiple Classes
Skewness of Cuzick and Edwards Test statistic
Return a summary of a Clusters object
Return a summary of a SpatPatterns object
Cuzick & Edwards Tcomb Test Statistic
Contingency Table (TCT)
Tocher's randomized correction to the exact -value
value in NN structure
Variances of Cell Counts in an NNCT
Variances of Differences of Off-Diagonal Entries in an NNCT
Variances of Segregation Coefficients in a Multi-class Case
Variances of Entries in a TCT
Variance of Pielou's Segregation Coefficient for 2 Classes
Simulated Variance of Cuzick and Edwards Test statistic
The incidence matrix W for the NN digraph
Chi-square Approximation to Cuzick and Edwards Test statistic
Overall NN Symmetry Test with Chi-square Approximation
-test for Cuzick and Edwards statistic
NN Symmetry Test with Normal Approximation
NN Symmetry Test with Normal Approximation for Two Classes
-test for Cuzick and Edwards statistic
-test for Cuzick and Edwards statistic
Contains the functions for testing the spatial patterns (of segregation, spatial symmetry, association, disease clustering, species correspondence, and reflexivity) based on nearest neighbor relations, especially using contingency tables such as nearest neighbor contingency tables (Ceyhan (2010) <doi:10.1007/s10651-008-0104-x> and Ceyhan (2017) <doi:10.1016/j.jkss.2016.10.002> and references therein), nearest neighbor symmetry contingency tables (Ceyhan (2014) <doi:10.1155/2014/698296>), species correspondence contingency tables and reflexivity contingency tables (Ceyhan (2018) <doi:10.2436/20.8080.02.72> for two (or higher) dimensional data. The package also contains functions for generating patterns of segregation, association, uniformity in a multi-class setting (Ceyhan (2014) <doi:10.1007/s00477-013-0824-9>), and various non-random labeling patterns for disease clustering in two dimensional cases (Ceyhan (2014) <doi:10.1002/sim.6053>), and for visualization of all these patterns for the two dimensional data. The tests are usually (asymptotic) normal z-tests or chi-square tests.