
Compute Gower dissimilarity between two site vectors
Source:R/helper_indices.R
orderwise_diss_gower.Rd
Calculates the Gower dissimilarity (a bounded 0–1 measure) between two numeric
vectors (e.g., species abundances) using the cluster::daisy()
function. When
the second vector is NULL
(order 1), returns NA_real_
since a pairwise
comparison is not meaningful.