Readapted version of joincount.multi() function from the spdep package.
multi_jc(fx, listw, wc.type = c("mat", "listw"))
Arguments
- fx
a factor of the same length as the neighbours and weights objects in listw
- listw
a listw object
- wc.type
input type to use to extract summary weight constants used to calculate join count statistics. Must be one of the following: "listw", "mat"
Value
data.frame containing join count coefficients for each cell type pair tested