Skip to contents

Internal function to calculate the pairwise CQL.

Usage

pairwise_colocation_calc(A, B, nb)

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()

Value

a matrix where rownames are A values colnames are B values