Learn R Programming

nnspat (version 0.1.2)

ind.seg.coeff: Index Matrix for Computing the Covariance of Segregation Coefficients

Description

Returns the index matrix for choosing the entries in the covariance matrix for NNCT used for computing the covariance for the extension of Pielou's segregation coefficient to the multi-class case. The matrix is \(k(k+1)/2 \times 2\) with each row is the \(i,j\) corresponding to \(N_{ij}\) in the NNCT.

Usage

ind.seg.coeff(k)

Value

The \(k(k+1)/2 \times 2\) index matrix with each row is the \(i,j\)

corresponding to \(N_{ij}\) in the NNCT

Arguments

k

An integer specifying the number of classes in the data set

Author

Elvan Ceyhan

See Also

cov.seg.coeff, seg.coeff and ind.nnsym