Package: pivmet 0.6.0

Leonardo Egidi

pivmet: Pivotal Methods for Bayesian Relabelling and k-Means Clustering

Collection of pivotal algorithms for: relabelling the MCMC chains in order to undo the label switching problem in Bayesian mixture models; fitting sparse finite mixtures; initializing the centers of the classical k-means algorithm in order to obtain a better clustering solution. For further details see Egidi, Pappadà, Pauli and Torelli (2018b)<ISBN:9788891910233>.

Authors:Leonardo Egidi[aut, cre], Roberta Pappadà[aut], Francesco Pauli[aut], Nicola Torelli[aut]

pivmet_0.6.0.tar.gz
pivmet_0.6.0.tar.gz(r-4.7-any)pivmet_0.6.0.tar.gz(r-4.6-any)
pivmet_0.6.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
pivmet/json (API)
NEWS

# Install 'pivmet' in R:
install.packages('pivmet', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/leoegidi/pivmet/issues

Uses libs:
  • jags– Just Another Gibbs Sampler for Bayesian MCMC - binary JAGS is Just Another Gibbs Sampler. It is a program for analysis of Bayesian hierarchical models using Markov Chain Monte Carlo (MCMC) simulation not wholly unlike BUGS. JAGS was written with three aims in mind: * To have an engine for the BUGS language that runs on Unix * To be extensible, allowing users to write their own functions, distributions and samplers. * To be a plaftorm for experimentation with ideas in Bayesian modelling This package contains the 'jags' binary as well as the associated shared library modules loaded by the binary.
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

jagscpp

3.45 score 28 scripts 592 downloads 7 exports 67 dependencies

Last updated from:2503fcace7. Checks:4 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK204
source / vignettesOK282
linux-release-x86_64OK186
wasm-releaseOK149

Exports:MUSpiv_KMeanspiv_MCMCpiv_plotpiv_relpiv_selpiv_sim

Dependencies:abindbackportsbayesmixbayesplotBHcallrcheckmatecliclustercodacorpcorcpp11descdistributionaldplyrfarvergenericsggplot2ggridgesgluegridExtragtableinlineisobandlabelinglatticelifecycleloomagrittrMASSmatrixStatsmclustmvtnormnumDerivotelpillarpkgbuildpkgconfigplyrposteriorprocessxpspurrrQuickJSRR6RColorBrewerRcppRcppEigenRcppParallelreshape2rjagsrlangrstanrunjagsS7scalesStanHeadersstringistringrtensorAtibbletidyrtidyselectutf8vctrsviridisLitewithr

Dealing with label switching: relabelling in Bayesian mixture models by pivotal units

Rendered fromRelabelling_in_Bayesian_mixtures_by_pivotal_units.Rmdusingknitr::rmarkdownon Jun 07 2026.

Last update: 2023-02-22
Started: 2018-11-19

K-means clustering using MUS and other pivotal algorithms

Rendered fromK-means_clustering_using_the_MUS_algorithm.Rmdusingknitr::rmarkdownon Jun 07 2026.

Last update: 2021-04-30
Started: 2018-11-19