Find conditionally permuted neighbor matches Given a kNN attribute neighbor list and a listw object, find the number of matches given a conditional permutation.
Source:R/nb-match-test-impl.R
nmt_perm_impl.Rd
Find conditionally permuted neighbor matches Given a kNN attribute neighbor list and a listw object, find the number of matches given a conditional permutation.
Arguments
- knn_nb
a list with numeric elements. For example as made by
dbscan::adjacencylist()
- listw
a listw object likely created by recreate_listw.