Skip to content

factor.switching

1.4

Post-Processing MCMC Outputs of Bayesian Factor Analytic Models

1packages depend
3.4Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Panagiotis PapastamoulisFirst published 2020-03-115 releasesCRAN page ↗

A well known identifiability issue in factor analytic models is the invariance with respect to orthogonal transformations. This problem burdens the inference under a Bayesian setup, where Markov chain Monte Carlo (MCMC) methods are used to generate samples from the posterior distribution. The package applies a series of rotation, sign and permutation transformations (Papastamoulis and Ntzoufras (2022) DOI:10.1007/s11222-022-10084-4) into raw MCMC samples of factor loadings, which are provided by the user. The post-processed output is identifiable and can be used for MCMC inference on any parametric function of factor loadings. Comparison of multiple MCMC chains is also possible.

Install

Health

CRAN checks
13OK
Slowest check: 2.1 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
4
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
not tracked
Return-value docs
not tracked
References docs
64%

Downloads

3.4K
CRAN downloads in the past year
Rank #12,891 · ~9/day · ~287/mo
Daily download trend is not available in this view yet.
19330 days
77190 days
3.4K1 year
Compare downloads with other packages →
Also on100 r2u

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)
Depends (0)
none
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

5 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 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
  • 1.4Latest
    2024-02-12 · current release · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 1.3
    2022-03-16 · diff ↗
  • 1.2
    2021-07-13 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 1.1
    2020-04-15 · diff ↗
  • 1.0
    2020-03-11
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2020-03-11
Total releases
5 / 6 yrs
License
GPL-2 OSI
Bundled data
3.8 KB / 1 file
Download size
22 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Start here. This is the citation for the package itself.

citation("factor.switching")

CRAN DOI

https://doi.org/10.32614/CRAN.package.factor.switching

BibTeX, derived from DESCRIPTION

@Manual{factorswitching,
  title  = {factor.switching: Post-Processing MCMC Outputs of Bayesian Factor Analytic Models},
  author = {Papastamoulis, Panagiotis},
  year   = {2024},
  note   = {R package version 1.4},
  doi    = {10.32614/CRAN.package.factor.switching},
  url    = {https://CRAN.R-project.org/package=factor.switching}
}

Derived from the package DESCRIPTION, not from a citation file the authors wrote. If they publish one later, prefer it.

This is the citation for the package. It is not a citation for the R Observatory.

Cite this page

Use this when the claim is about a measurement on this page.

BibTeX

@misc{robservatoryfactorswitching,
  author    = {Balamuta, James Joseph},
  title     = {{R} {Observatory}: Metrics for {factor.switching} version 1.4},
  year      = {2026},
  publisher = {HJJB, LLC},
  url       = {https://r-observatory.thecoatlessprofessor.com/packages/factor.switching},
  note      = {Data set. Data release v2026-08-05}
}

APA

Balamuta, J. J. (2026). R Observatory: Metrics for factor.switching version 1.4 [Data set]. HJJB, LLC. Data release v2026-08-05. https://r-observatory.thecoatlessprofessor.com/packages/factor.switching

RIS

TY  - DATA
AU  - Balamuta, James Joseph
TI  - R Observatory: Metrics for factor.switching version 1.4
PY  - 2026
PB  - HJJB, LLC
N1  - Data release v2026-08-05
UR  - https://r-observatory.thecoatlessprofessor.com/packages/factor.switching
ER  - 

In prose

These package metrics were obtained from the R Observatory (Balamuta, 2026), data release v2026-08-05, https://r-observatory.thecoatlessprofessor.com/packages/factor.switching.

Bound to data release v2026-08-05, which is what makes the numbers on this page reproducible. See how to cite.

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