Skip to contents

Internal helper to compute the sum of square distances within cluster nodes. Follows spdep function, implementing igraph methods. For additional information see spdep::ssw

Usage

ssw(data, nodes, method = "euclidean", p = 2, cov = NULL, inverted = FALSE)