pairwise_colocation_perm_impl: Pairwise CLQ conditional permutation implementation

View source: R/pariwise-colocation-impl.R

pairwise_colocation_perm_implR Documentation

Pairwise CLQ conditional permutation implementation

Description

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


sfdep documentation built on Jan. 11, 2023, 9:08 a.m.