Skip to content

bifactory

0.5.1

(Bifactor) ESEM with Continuous (MLR) or Ordered (WLSMV) Data

0packages depend
171downloads / year
3.9%test coverage
12/13checks pass

Overview

About
Maintained by Leon T. De BeerFirst published 2026-07-111 releasesCRAN page ↗GitHub ↗

Fits bifactor exploratory structural equation models (B-ESEM), together with standard exploratory structural equation modeling (ESEM) and confirmatory factor analysis (CFA), for continuous and ordered-categorical data. Continuous models use 'lavaan' native efa() blocks with robust maximum likelihood (MLR) estimation. Ordered-categorical ESEM defaults to the 'lavaan' weighted least squares mean- and variance-adjusted (WLSMV) estimator; ordered B-ESEM uses a custom diagonally weighted least squares (DWLS) path with polychoric correlations from 'psych', rotation-delta standard errors via 'numDeriv', and a mean- and variance-adjusted chi-square. Target, geomin, and oblimin rotations use 'GPArotation'; the bifactor ESEM approach follows Morin, Arens and Marsh (2016) doi:10.1080/10705511.2014.961800. Additional features include multi-group measurement invariance (configural through strict, with partial invariance), ESEM-within-CFA conversion, McDonald's omega reliability suite, and the Mehrvarz and Rouder (2026) doi:10.31234/osf.io/95enc_v3 alignment ratio check for independent cluster model confirmatory factor analysis (ICM-CFA) misspecification. An optional 'MplusAutomation' interface allows side-by-side comparison with 'Mplus' output.

Install

Health

CRAN checks
1NOTE12OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 2.4 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.01
3.9%
Coverage · measured lines
100%
Documentation · exports
10
Dependencies · direct
Check history
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-07-12
    7 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
88%
Documented parameters
99%
Return-value docs
100%
References docs
8%

Downloads

171
CRAN downloads in the past year
Rank #24,367 · ~0/day · ~14/mo
Daily download trend is not available in this view yet.
17130 days
17190 days
1711 year
Compare downloads with other packages →
Also on6 autocran

Repository

Repository
1Stars
0Forks
0Open issues
0Open PRs
1Releases
3Commits
1Contributors
License AGPL-3.0 · 3 commits · Last activity 2026-06-30

Stars over time

2026-07-12 · 02026-07-14 · 1

Repository practices

Upstream repositoryBeta

Checks run against github.com/leondebeer/bifactory on 2026-07-30.

No development-tooling practices detected in the upstream repository.

How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
Imports (10)
lavaanGPArotationpsychMASSnumDerivstatsutilsgraphicsmethodswithr
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

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

1 release. R releases are shown for context.

  • 0.5.1Latest
    2026-07-11 · current release
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-07-11
Total releases
1 / 1 yrs
License
AGPL-3 OSI
Minimum R
≥ 4.1.0
Download size
not tracked yet
Installed size
not tracked yet
With dependencies
not tracked yet
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