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


JosiahParry/sfdep documentation built on Sept. 7, 2024, 6:15 a.m.