getSpatialNeighbors | R Documentation |
Adjacency weight matrix by Delaunay triangulations.
getSpatialNeighbors(pos, filterDist = NA, binary = TRUE, verbose = FALSE)
pos |
Position |
filterDist |
Euclidean distance beyond which two cells cannot be considered neighbors |
binary |
Boolean of whether to binarize output; otherwise Euclidean distances provided |
verbose |
Verbosity |
Matrix where value represents distance between two spatially adjacent cells ie. neighbors
data(mOB) pos <- mOB$pos w <- getSpatialNeighbors(pos)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.