nmt_perm_impl: Find conditionally permuted neighbor matches Given a kNN...

View source: R/nb-match-test-impl.R

nmt_perm_implR Documentation

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

Description

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


sfdep documentation built on May 29, 2024, 1:17 a.m.