{
  "_id": "6a103713acfb0bcc41c9a36d",
  "Package": "pivmet",
  "Type": "Package",
  "Title": "Pivotal Methods for Bayesian Relabelling and k-Means Clustering",
  "Version": "0.6.0",
  "Date": "2024-05-22",
  "Author": "Leonardo Egidi[aut, cre], Roberta Pappadà[aut], Francesco\nPauli[aut], Nicola Torelli[aut]",
  "Maintainer": "Leonardo Egidi <legidi@units.it>",
  "License": "GPL-2",
  "Description": "Collection of pivotal algorithms for: relabelling the MCMC\nchains in order to undo the label switching problem in Bayesian\nmixture models; fitting sparse finite mixtures; initializing\nthe centers of the classical k-means algorithm in order to\nobtain a better clustering solution. For further details see\nEgidi, Pappadà, Pauli and Torelli (2018b)<ISBN:9788891910233>.",
  "URL": "https://github.com/leoegidi/pivmet",
  "Encoding": "UTF-8",
  "SystemRequirements": "pandoc (>= 1.12.3), pandoc-citeproc",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.1",
  "BuildManual": "yes",
  "Config/pak/sysreqs": "make jags libicu-dev",
  "Repository": "https://leoegidi.r-universe.dev",
  "Date/Publication": "2024-06-12 15:38:26 UTC",
  "RemoteUrl": "https://github.com/leoegidi/pivmet",
  "RemoteRef": "HEAD",
  "RemoteSha": "b24582227acd191bce35d17b6721ddf4ec36bbee",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-12 06:35:03 UTC",
    "User": "root"
  },
  "MD5sum": "ed58aad9af219963b2004f87b06c51b3",
  "_user": "leoegidi",
  "_type": "src",
  "_file": "pivmet_0.6.0.tar.gz",
  "_fileid": "0c5e2a4d54ffc1be5c272ea8d453b1a864e9f8d515336ffebab5fdc9d46c21b3",
  "_filesize": 1550245,
  "_sha256": "0c5e2a4d54ffc1be5c272ea8d453b1a864e9f8d515336ffebab5fdc9d46c21b3",
  "_created": "2026-05-12T06:35:03.000Z",
  "_published": "2026-05-22T10:59:31.701Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77366162944,
      "time": 224,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "6937339126"
    },
    {
      "job": 77366162560,
      "time": 232,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6937340870"
    },
    {
      "job": 77366162877,
      "time": 214,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "6937329426"
    },
    {
      "job": 77366162391,
      "time": 221,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6937330489"
    },
    {
      "job": 77366162136,
      "time": 296,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6937283714"
    },
    {
      "job": 77366162096,
      "time": 142,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158879724"
    },
    {
      "job": 77366162452,
      "time": 203,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "6937334281"
    },
    {
      "job": 77366162769,
      "time": 244,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "6937344223"
    },
    {
      "job": 77366162623,
      "time": 213,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6937336955"
    }
  ],
  "_buildurl": "https://github.com/r-universe/leoegidi/actions/runs/25717601074",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/leoegidi/pivmet",
  "_commit": {
    "id": "b24582227acd191bce35d17b6721ddf4ec36bbee",
    "author": "Leonardo <legidi@units.it>",
    "committer": "Leonardo <legidi@units.it>",
    "message": "Update paper.md\n",
    "time": 1718206706
  },
  "_maintainer": {
    "name": "Leonardo Egidi",
    "email": "legidi@units.it",
    "login": "leoegidi",
    "orcid": "0000-0003-3211-905X",
    "uuid": 17299373
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.1.0",
      "role": "Depends"
    },
    {
      "package": "cluster",
      "role": "Imports"
    },
    {
      "package": "mclust",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "corpcor",
      "role": "Imports"
    },
    {
      "package": "runjags",
      "role": "Imports"
    },
    {
      "package": "rstan",
      "role": "Imports"
    },
    {
      "package": "bayesmix",
      "role": "Imports"
    },
    {
      "package": "rjags",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "bayesplot",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "leoegidi",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 6,
  "_contributors": [
    {
      "user": "leoegidi",
      "count": 724,
      "uuid": 17299373
    },
    {
      "user": "larryshamalama",
      "count": 2,
      "uuid": 24764859
    }
  ],
  "_userbio": {
    "uuid": 17299373,
    "type": "user",
    "name": "Leonardo Egidi",
    "description": "Associate Professor, Statistics.\r\n\r\nPersonal website: https://leoegidi.github.io/"
  },
  "_downloads": {
    "count": 630,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/pivmet"
  },
  "_devurl": "https://github.com/leoegidi/pivmet",
  "_searchresults": 25,
  "_topics": [
    "jags",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/pivmet.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/leoegidi/pivmet",
  "_realowner": "leoegidi",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2018-11-19"
    },
    {
      "version": "0.1.1",
      "date": "2019-02-26"
    },
    {
      "version": "0.2.0",
      "date": "2019-06-24"
    },
    {
      "version": "0.3.0",
      "date": "2020-06-03"
    },
    {
      "version": "0.4.0",
      "date": "2021-04-30"
    },
    {
      "version": "0.5.0",
      "date": "2023-02-22"
    },
    {
      "version": "0.6.0",
      "date": "2024-05-30"
    }
  ],
  "_exports": [
    "MUS",
    "piv_KMeans",
    "piv_MCMC",
    "piv_plot",
    "piv_rel",
    "piv_sel",
    "piv_sim"
  ],
  "_help": [
    {
      "page": "MUS",
      "title": "MUS algorithm",
      "topics": [
        "MUS"
      ]
    },
    {
      "page": "piv_KMeans",
      "title": "k-means Clustering Using Pivotal Algorithms For Seeding",
      "topics": [
        "piv_KMeans"
      ]
    },
    {
      "page": "piv_MCMC",
      "title": "JAGS/Stan Sampling for Gaussian Mixture Models and Clustering via Co-Association Matrix.",
      "topics": [
        "piv_MCMC"
      ]
    },
    {
      "page": "piv_plot",
      "title": "Plotting outputs from pivotal relabelling",
      "topics": [
        "piv_plot"
      ]
    },
    {
      "page": "piv_rel",
      "title": "Performing the pivotal relabelling step and computing the relabelled posterior estimates",
      "topics": [
        "piv_rel"
      ]
    },
    {
      "page": "piv_sel",
      "title": "Pivotal Selection via Co-Association Matrix",
      "topics": [
        "piv_sel"
      ]
    },
    {
      "page": "piv_sim",
      "title": "Generate Data from a Gaussian Nested Mixture",
      "topics": [
        "piv_sim"
      ]
    }
  ],
  "_readme": "https://github.com/leoegidi/pivmet/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "bayesmix",
    "bayesplot",
    "BH",
    "callr",
    "checkmate",
    "cli",
    "cluster",
    "coda",
    "corpcor",
    "cpp11",
    "desc",
    "distributional",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "ggridges",
    "glue",
    "gridExtra",
    "gtable",
    "inline",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "loo",
    "magrittr",
    "MASS",
    "matrixStats",
    "mclust",
    "mvtnorm",
    "numDeriv",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "plyr",
    "posterior",
    "processx",
    "ps",
    "purrr",
    "QuickJSR",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "reshape2",
    "rjags",
    "rlang",
    "rstan",
    "runjags",
    "S7",
    "scales",
    "StanHeaders",
    "stringi",
    "stringr",
    "tensorA",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libjags",
      "package": "jags",
      "headers": "jags",
      "source": "jags",
      "version": "4.3.2-2.2404.0",
      "name": "jags",
      "homepage": "https://mcmc-jags.sourceforge.io",
      "description": "Just Another Gibbs Sampler for Bayesian MCMC - binary\nJAGS is Just Another Gibbs Sampler.  It is a program for analysis of\nBayesian hierarchical models using Markov Chain Monte Carlo (MCMC)\nsimulation not wholly unlike BUGS.\n\nJAGS was written with three aims in mind:\n* To have an engine for the BUGS language that runs on Unix\n* To be extensible, allowing users to write their own functions,\ndistributions and samplers.\n* To be a plaftorm for experimentation with ideas in Bayesian modelling\n\nThis package contains the 'jags' binary as well as the associated\nshared library modules loaded by the binary."
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "Relabelling_in_Bayesian_mixtures_by_pivotal_units.Rmd",
      "filename": "Relabelling_in_Bayesian_mixtures_by_pivotal_units.html",
      "title": "Dealing with label switching: relabelling in Bayesian mixture models by pivotal units",
      "author": "Leonardo Egidi",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Example: bivariate Gaussian data",
        "Example: fishery data",
        "References"
      ],
      "created": "2018-08-25 13:11:40",
      "modified": "2023-02-22 12:22:52",
      "commits": 30
    },
    {
      "source": "K-means_clustering_using_the_MUS_algorithm.Rmd",
      "filename": "K-means_clustering_using_the_MUS_algorithm.html",
      "title": "K-means clustering using MUS and other pivotal algorithms",
      "author": "Leonardo Egidi",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Pivotal algorithms: how they works, and why",
        "piv_KMeans: k-means clustering via pivotal units",
        "References"
      ],
      "created": "2018-08-27 08:44:20",
      "modified": "2021-04-28 09:11:49",
      "commits": 17
    }
  ],
  "_score": 5.176091259055681,
  "_indexed": true,
  "_nocasepkg": "pivmet",
  "_universes": [
    "leoegidi"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6.0",
      "date": "2026-05-12T06:37:41.000Z",
      "distro": "noble",
      "commit": "b24582227acd191bce35d17b6721ddf4ec36bbee",
      "fileid": "d478de82f92d61ec6c5c768b56b8da6a76cc07105c00a8ba10f82a0512211ec7",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/leoegidi/actions/runs/25717601074"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.6.0",
      "date": "2026-05-12T06:37:46.000Z",
      "distro": "noble",
      "commit": "b24582227acd191bce35d17b6721ddf4ec36bbee",
      "fileid": "b9eeb5637c3fe6728d174e983079d2de3b343dd686905aad4cb0e42753c241d8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/leoegidi/actions/runs/25717601074"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6.0",
      "date": "2026-05-12T06:37:39.000Z",
      "commit": "b24582227acd191bce35d17b6721ddf4ec36bbee",
      "fileid": "b04892bfe885c071a965fdb807839a59d94df74a38272666351e5c9e64f419bb",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/leoegidi/actions/runs/25717601074"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.6.0",
      "date": "2026-05-12T06:37:26.000Z",
      "commit": "b24582227acd191bce35d17b6721ddf4ec36bbee",
      "fileid": "d198ae59bd38b3c54c44b477df5f22756ddc550bd09324d807e3e28bccb778fe",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/leoegidi/actions/runs/25717601074"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6.0",
      "date": "2026-05-12T06:37:02.000Z",
      "commit": "b24582227acd191bce35d17b6721ddf4ec36bbee",
      "fileid": "db824f0b1ca0e22e6e03f22487bcfc6f3df1589aad9efb214a8a891153dbd6af",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/leoegidi/actions/runs/25717601074"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.6.0",
      "date": "2026-05-12T06:37:44.000Z",
      "commit": "b24582227acd191bce35d17b6721ddf4ec36bbee",
      "fileid": "049649600b57766c7a26d69d06eebb2bca7ceab2c7e67e0a98ed3a147198cbcf",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/leoegidi/actions/runs/25717601074"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.6.0",
      "date": "2026-05-12T06:37:06.000Z",
      "commit": "b24582227acd191bce35d17b6721ddf4ec36bbee",
      "fileid": "9a62ac35f5769f4664883076d809b998da487c947936b5e41529e0129ea294c1",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/leoegidi/actions/runs/25717601074"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6.0",
      "date": "2026-05-22T10:59:12.000Z",
      "commit": "b24582227acd191bce35d17b6721ddf4ec36bbee",
      "fileid": "76526f206d383a460ee93b4a443f2b53ca0b7054ae6770e4ae489190101328b9",
      "status": "success",
      "buildurl": "https://github.com/r-universe/leoegidi/actions/runs/25717601074"
    }
  ]
}