Description Usage Arguments Details Examples
View source: R/spatialContMat.R
Create a matrix of local contingency matrix of size NxN starting from
a list.
1  | spatialContingencyMatrix(clist)
 | 
clist | 
 list of length N in which each element is a vector of id's continguous units  | 
The input argument clist should be a list of lenght N. Each element of
this list must be a numeric vector, including the indices of the units that
are contiguous to the unit corresponding to the list element.
Function spatialContingencyMatrix returns a matrix whose values are 1's (contiguous units)
and 0's (non-contiguous units).
1 2 3 4 5  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.