bifactory
0.5.1(Bifactor) ESEM with Continuous (MLR) or Ordered (WLSMV) Data
Overview
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
- NOTE r-devel-linux-x86_64-debian-gcc
- NOTE2026-08-0112 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-07-127 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 88%
- Documented parameters
- 99%
- Return-value docs
- 100%
- References docs
- 8%
Downloads
Repository
Stars over time
Repository practices
Checks run against github.com/leondebeer/bifactory on 2026-07-30.
No development-tooling practices detected in the upstream repository.
Dependencies
Nothing depends on this yet.
Code & Tests
People & History
1 release. R releases are shown for context.
- 0.5.1Latest2026-07-11 · current release
- RR 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