CAR_calcNumIslands | R Documentation |
Calculate number of islands (distinct connected groups) based on a CAR adjacency matrix.
CAR_calcNumIslands(adj, num)
adj |
vector of indices of the adjacent locations (neighbors) of each spatial location. This is a sparse representation of the full adjacency matrix. |
num |
vector giving the number of neighbors of each spatial location, with length equal to the total number of locations. |
Daniel Turek
CAR-Normal
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.