Package: CPC 2.6.0

CPC: Implementation of Cluster-Polarization Coefficient
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 (forthcoming) <doi:10.1017/S0003055423001041>.
Authors:
CPC_2.6.0.tar.gz
CPC_2.6.0.zip(r-4.5)CPC_2.6.0.zip(r-4.4)CPC_2.6.0.zip(r-4.3)
CPC_2.6.0.tgz(r-4.5-any)CPC_2.6.0.tgz(r-4.4-any)CPC_2.6.0.tgz(r-4.3-any)
CPC_2.6.0.tar.gz(r-4.5-noble)CPC_2.6.0.tar.gz(r-4.4-noble)
CPC_2.6.0.tgz(r-4.4-emscripten)CPC_2.6.0.tgz(r-4.3-emscripten)
CPC.pdf |CPC.html✨
CPC/json (API)
NEWS
# Install 'CPC' in R: |
install.packages('CPC', repos = c('https://imehlhaff.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/imehlhaff/cpc/issues
Pkgdown site:https://imehlhaff.net
Last updated 5 months agofrom:01f9c5d092. Checks:6 OK, 3 NOTE. Indexed: yes.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Mar 27 2025 |
R-4.5-win | NOTE | Mar 27 2025 |
R-4.5-mac | NOTE | Mar 27 2025 |
R-4.5-linux | NOTE | Mar 27 2025 |
R-4.4-win | OK | Mar 27 2025 |
R-4.4-mac | OK | Mar 27 2025 |
R-4.4-linux | OK | Mar 27 2025 |
R-4.3-win | OK | Mar 27 2025 |
R-4.3-mac | OK | Mar 27 2025 |
Exports:correlateCPCCPCdata.framediff_multidimEuclideanSS
Dependencies:clusterdbscangenericsRcppRcppArmadilloRcppParallelRfastzigg
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Test for Bivariate Correlation | correlate |
Cluster-Polarization Coefficient | CPC |
Data Manipulation for CPC Calculation | CPCdata.frame |
Multidimensional Difference-in-Means | diff_multidim |
Euclidean Distance from Dimension Means | Euclidean |
Sum-of-Squares Calculation | SS |