Skip to content

label.switching

1.8Package record

Relabelling MCMC Outputs of Mixture Models

12packages dependsuggested by 6
17.9Kdownloads / year
–test coverage
11/13flavors OK

Overview

About

The Bayesian estimation of mixture models (and more general hidden Markov models) suffers from the label switching phenomenon, making the MCMC output non-identifiable. This package can be used in order to deal with this problem using various relabelling algorithms.

Install

Health

CRAN checks
2NOTE11OK
Check messages
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Panagiotis Papastamoulis <papapast@yahoo.gr>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Panagiotis",
                    family = "Papastamoulis",
                    role = c("aut", "cre"),
                    email = "papapast@yahoo.gr")
as necessary.

CRAN check page ↗

Slowest check: 1.5 min · r-oldrel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTENow
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.8
READMENoVignettesNoNEWSNoCitation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Cites a JSS article
Help pages
14includes a package overview page
Examples that run
100%10 run in a plain check
Exported functions with examples
91%
Documented parameters
not tracked
Return-value docs
not tracked
Help pages citing references
71%

Downloads

17.9K
CRAN downloads in the past year
Rank #3,206 · ~49/day · ~1.5K/mo
Daily download trend is not available in this view yet.
1.7K30 days
3.7K90 days
17.9K1 year
Compare downloads with other packages →
Also on266 r2u2 autocran1.2K conda_forge73 c2d4u

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)

Installing label.switching adds 2 packages (1 with compiled code, 466 KB of source tarballs). Heaviest: lpSolve 457 KB, combinat 9.1 KB.

Depends (0)
none
Imports (2)
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
12direct
1indirect
Imports 12
Suggested by 6
Show all 18 packagesHide all 18 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (from the free-text Author field) (1)

Maintainer since at least 1.1 (2013)

Releases (9)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 1.8Latest
    record
    2019-07-01 · current release · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 1.7
    record
    2018-05-18 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 1.6
    record
    2016-05-22 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 1.5
    record
    2016-02-01 · diff ↗
  • 1.4
    record
    2015-07-06 · diff ↗
Show 7 earlier eventsHide 7 earlier events

Package metadata

First published
2013-09-16
Total releases
9 / 13 yrs
License
GPL-2 OSI
Bundled data
36 KB / 2 files
Download size
56 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("label.switching")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.18637/jss.v069.c01.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for label.switching version 1.8 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy