View source: R/generate_neighbours.R
generate_neighbours | R Documentation |
Generate a sparse matrix of neighbours for patches (i.e. edges in the graph)
generate_neighbours(
patches,
calculate_border = TRUE,
buffer_dist = 0.001 * hex_width
)
patches |
an object created by |
calculate_border |
should the length of the common border to neighbours be calculated? |
buffer_dist |
a tolerance limit defining which borders are considered to be contiguous |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.