View source: R/utils-constants.R
pct_nonzero | R Documentation |
Calculate the percentage of non-zero neighbors in a neighbor list.
pct_nonzero(nb)
nb |
a neighbor list object |
a scalar double
nb <- st_contiguity(guerry)
pct_nonzero(nb)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.