caviarpd: Cluster Analysis via Random Partition Distributions

Cluster analysis is performed using pairwise distance information and a random partition distribution. The method is implemented for two random partition distributions. It draws samples and then obtains and plots clustering estimates. An implementation of a selection algorithm is provided for the mass parameter of the partition distribution. Since pairwise distances are the principal input to this procedure, it is most comparable to the hierarchical and k-medoids clustering methods. The method is Dahl, Andros, Carter (2022+) <doi:10.1002/sam.11602>.

Version: 0.3.9
Depends: R (≥ 4.2.0)
Suggests: salso (≥ 0.3.0)
Published: 2023-07-17
DOI: 10.32614/CRAN.package.caviarpd
Author: David B. Dahl ORCID iD [aut, cre], R. Jacob Andros ORCID iD [aut], J. Brandon Carter ORCID iD [aut], Alex Crichton [cph] (Rust crates: proc-macro2, cfg-if.), "bluss" Ulrik Sverdrup [cph] (Rust crate: rawpointer, matrixmultiply, scopeguard, ndarray.), Brendan Zabarauskas [cph] (Rust crate: approx.), David B. Dahl [cph] (Rust crates: roxido, roxido_macro, dahl-partition, dahl-salso, dahl-bellnumber.), David Tolnay [cph] (Rust crates: syn, proc-macro2, quote, unicode-ident.), David Schultz [cph] (Rust crates: libm.), DutchGhost [cph] (Rust crate: matrixmultiply.), Enthought, Inc. [cph] (Rust crate: ndarray.), Gilad Naaman [cph] (Rust crate: memoffset.), Jim Turner [cph] (Rust crate: ndarray.), Jorge Aparicio [cph] (Rust crate: libm.), Josh Stone [cph] (Rust crate: autocfg.), Melissa O'Neill [cph] (Rust crate: rand_pcg.), Mikhail Vorotilov [cph] (Rust crate: roots.), Paul Dicker [cph] (Rust crate: rand_pcg.), PCG Project contributors [cph] (Rust crate: rand_pcg.), Ralf Jung [cph] (Rust crate: memoffset.), rawpointer developers [cph] (Rust crate: rawpointer.), R. Janis Goldschmidt [cph] (Rust crate: matrixmultiply.), SciPy Developers [cph] (Rust crate: ndarray.), Sean McArthur [cph] (Rust crate: num_cpus.), Sun Microsystems, Inc. [cph] (Rust crate: libm.), Stefan Lankes [cph] (Rust crate: hermit-abi.), The Cranelift Project Developers [cph] (Rust crate: wasi.), The Crossbeam Project Developers [cph] (Rust crates: crossbeam, crossbeam-channel, crossbeam-deque, crossbeam-epoch, crossbeam-queue, crossbeam-utils.), The CryptoCorrosion Contributors [cph] (Rust crates: ppv-lite86, rand_chacha.), The Go Authors [cph] (Rust crate: crossbeam-channel.), The PCG Project Contributors [cph] (Rust crate: rand_pcg.), The matrixmultiply Authors [cph] (Rust crate: matrixmultiply.), The ndarray Developers [cph] (Rust crate: ndarray.), The Rand Project Developers [cph] (Rust crates: rand_core, rand_chacha, rand_pcg, rand, getrandom, rand_distr.), The Rust Project Developers [cph] (Rust crates: crossbmean-channel, rand_chacha, num-integer, rand_core, num-complex, libc, num-traits, rand.), The scopeguard Developers [cph] (Rust crates: scopeguard.), Unicode, Inc. [cph] (Rust crate: unicode-ident.)
Maintainer: David B. Dahl <dahl at>
License: MIT + file LICENSE | Apache License 2.0
NeedsCompilation: yes
SystemRequirements: Cargo (Rust's package manager), rustc (>= 1.65)
CRAN checks: caviarpd results


Reference manual: caviarpd.pdf


Package source: caviarpd_0.3.9.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): caviarpd_0.3.9.tgz, r-oldrel (arm64): caviarpd_0.3.9.tgz, r-release (x86_64): caviarpd_0.3.9.tgz, r-oldrel (x86_64): caviarpd_0.3.9.tgz
Old sources: caviarpd archive


Please use the canonical form to link to this page.