Skip to content

factor.switching

1.4Package record

Post-Processing MCMC Outputs of Bayesian Factor Analytic Models

1packages depend
3.4Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

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
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.4
READMENoVignettesNoNEWSNoCitation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Help pages
11includes a package overview page
Examples that run
100%9 run in a plain check
Exported functions with examples
89%
Documented parameters
not tracked
Return-value docs
not tracked
Help pages citing references
64%

Downloads

3.4K
CRAN downloads in the past year
Rank #13,014 · ~9/day · ~279/mo
Daily download trend is not available in this view yet.
34230 days
86790 days
3.4K1 year
Compare downloads with other packages →
Also on76 r2u7 autocran

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)

Installing factor.switching adds 8 packages (5 with compiled code, 4.2 MB of source tarballs). Heaviest: mcmc 1.5 MB, quantreg 903 KB, MCMCpack 718 KB.

Depends (0)
none
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Depends, Imports or LinkingTo, most downloaded first

Datasets

People & History

People (1)
Author, Maintainer since 1.0 (2020)
Releases (5)

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
  • 1.4Latest
    record
    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
    record
    2022-03-16 · diff ↗
  • 1.2
    record
    2021-07-13 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 1.1
    record
    2020-04-15 · diff ↗
  • 1.0
    record
    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

Cite

Cite this package

Run in R for the authors' entry:

citation("factor.switching")

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

It points to 10.1007/s11222-022-10084-4.

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 factor.switching version 1.4 [Data set]. HJJB, LLC. Data release v2026-10-20. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-20, 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