Package: spatialcluster Title: Spatially Contiguous Clustering with the 'Redcap' Algorithm Version: 0.2.1.009 Authors@R: c(person("Mark", "Padgham", email = "mark.padgham@email.com", role = c("aut", "cre"), comment = c(ORCID = "0000-0003-2172-5265")), person("Michael", "Sumner", role = c("ctb"), comment = c(ORCID = "0000-0002-2471-7511"))) Description: Groups spatial data into clusters of similar observations, while requiring that each cluster forms a single spatially contiguous region. Contiguity is enforced by first building a spanning tree from the spatial relationships between points, and then cutting that tree into clusters according to a matrix of distances or other measures of similarity. Trees may be built from first-order relationships only (direct neighbours), yielding a minimum spanning tree, or from full-order relationships between entire clusters, using single linkage (nearest members), average linkage (mean of all pairs), or complete linkage (furthest members). The single and average linkage methods implement the 'Redcap' algorithm ('Regionalization' with dynamically constrained agglomerative clustering and partitioning). Results can be visualised as maps of clusters, cluster hulls, or trees. License: GPL-3 URL: https://UrbanAnalyst.github.io/spatialcluster/, https://github.com/UrbanAnalyst/spatialcluster BugReports: https://github.com/UrbanAnalyst/spatialcluster/issues Depends: R (>= 4.1.0) Imports: alphahull, deldir, dplyr, ggplot2, ggthemes, methods, Rcpp (>= 0.12.6), tibble Suggests: cdtr, dbscan, knitr, rmarkdown, roxygen2, testthat LinkingTo: Rcpp, RcppArmadillo VignetteBuilder: knitr Encoding: UTF-8 NeedsCompilation: yes Config/roxygen2/version: 8.1.1 Repository: https://urbananalyst.r-universe.dev Date/Publication: 2026-11-06 10:08:17 UTC RemoteUrl: https://github.com/UrbanAnalyst/spatialcluster RemoteRef: HEAD RemoteSha: 5e3920df852cc959c95b72e173dab2ab0cd1c1dc Packaged: 2026-11-10 11:44:50 UTC; root Author: Mark Padgham [aut, cre] (ORCID: ), Michael Sumner [ctb] (ORCID: ) Maintainer: Mark Padgham