View source: R/nb-complete-graph.R
st_complete_nb | R Documentation |
Create a neighbors list where every element is related to every other element. This creates a complete graph.
st_complete_nb(n_elements, diag = FALSE)
n_elements |
the number of observations to create a neighbors list for |
diag |
default |
A neighbors list representing a complete graph.
st_complete_nb(5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.