Implements cluster-polarization coefficient for measuring distributional polarization in single or multiple dimensions, as well as associated functions. Contains support for hierarchical clustering, k-means, partitioning around medoids, density-based spatial clustering with noise, and manually imposed cluster membership. Mehlhaff (2024) <doi:10.1017/S0003055423001041>.
| Version: | 2.6.2 | 
| Imports: | stats, cluster, dbscan, Rfast | 
| Published: | 2025-07-27 | 
| DOI: | 10.32614/CRAN.package.CPC | 
| Author: | Isaac Mehlhaff | 
| Maintainer: | Isaac Mehlhaff <isaac.mehlhaff at gmail.com> | 
| BugReports: | https://github.com/imehlhaff/CPC/issues | 
| License: | CC0 | 
| URL: | https://imehlhaff.net/CPC/ | 
| NeedsCompilation: | no | 
| Citation: | CPC citation info | 
| Materials: | README, NEWS | 
| CRAN checks: | CPC results | 
| Reference manual: | CPC.html , CPC.pdf | 
| Package source: | CPC_2.6.2.tar.gz | 
| Windows binaries: | r-devel: CPC_2.6.2.zip, r-release: CPC_2.6.2.zip, r-oldrel: CPC_2.6.2.zip | 
| macOS binaries: | r-release (arm64): CPC_2.6.2.tgz, r-oldrel (arm64): CPC_2.6.2.tgz, r-release (x86_64): CPC_2.6.2.tgz, r-oldrel (x86_64): CPC_2.6.2.tgz | 
| Old sources: | CPC archive | 
Please use the canonical form https://CRAN.R-project.org/package=CPC to link to this page.