Skip to contents

Find conditionally permuted neighbor matches Given a kNN attribute neighbor list and a listw object, find the number of matches given a conditional permutation.

Usage

nmt_perm_impl(knn_nb, listw)

Arguments

knn_nb

a list with numeric elements. For example as made by dbscan::adjacencylist()

listw

a listw object likely created by recreate_listw.

Value

an integer vector