The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
Evaluates the statistical coherence of existing administrative partitions (e.g. inter-municipal groupings, districts) by identifying spatial units whose attributive profile is more similar to a neighbouring group than to their own. Border units are iteratively reassigned to the group they are most affine with, based on Euclidean or Mahalanobis distance computed on user-supplied numeric variables, with optional per-variable weighting and standardisation. Spatial contiguity is enforced throughout: isolated candidates are reintegrated into their original group, disconnected fragments are resolved, and empty groups are restored. Convergence is monitored via an eta-squared cohesion criterion. The resulting partition can be compared to the original administrative delineation using multilevel models, providing a quantitative measure of boundary inefficiency.
| Version: | 0.1.0 |
| Depends: | R (≥ 4.1.0) |
| Imports: | dplyr, sf, spdep, igraph, rlang |
| Published: | 2026-05-11 |
| DOI: | 10.32614/CRAN.package.spatialRegroup |
| Author: | Nicolas Ausello |
| Maintainer: | Nicolas Ausello <nicolasausello at yahoo.fr> |
| License: | GPL-3 |
| NeedsCompilation: | no |
| CRAN checks: | spatialRegroup results |
| Reference manual: | spatialRegroup.html , spatialRegroup.pdf |
| Package source: | spatialRegroup_0.1.0.tar.gz |
| Windows binaries: | r-devel: spatialRegroup_0.1.0.zip, r-release: spatialRegroup_0.1.0.zip, r-oldrel: spatialRegroup_0.1.0.zip |
| macOS binaries: | r-release (arm64): spatialRegroup_0.1.0.tgz, r-oldrel (arm64): spatialRegroup_0.1.0.tgz, r-release (x86_64): spatialRegroup_0.1.0.tgz, r-oldrel (x86_64): spatialRegroup_0.1.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=spatialRegroup to link to this page.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.