Skip to contents

Internal implementation of the pairwise CQL using conditional permutation. Functionally the same as pairwise_colocation().

Usage

pairwise_colocation_perm_impl(A, B, nb, nsim = 199)

Arguments

A

a character or factor vector.

B

a character or factor vector.

nb

a neighbors list e.g. created by st_knn() or st_contiguity()

nsim

default 99. An integer representing how many simulations to run for calculating the simulated p-values.

Value

a matrix used by pairwise_colocation