Piecewise Structural Equation Modeling
Overview
Implements piecewise structural equation modeling from a single list of structural equations, with new methods for non-linear, latent, and composite variables, standardized coefficients, query-based prediction and indirect effects. See http://jslefche.github.io/piecewiseSEM/ for more.
- Fixed issue with anchors in cross-references
- Updated version number to three components
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-07
- OK14 OK2026-03-10
Documentation
- Help pages
- 95 (62 internal)includes a package overview page
- Examples that run
- 92%11 run in a plain check · 1 never run
- Exported functions with examples
- 40%
- Documented parameters
- 78%
- Return-value docs
- 58%
- Help pages citing references
- 8%
Downloads
Repository
- PRs merged (all time)
- 50%
- Median days to close, 50 most recently updated closed issues
- 528
- Median days to close, 50 most recently updated closed PRs
- 2
Stars over time
Forks over time
Issues over time
PRs over time
5 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/jslefche/piecewisesem on 2026-10-18.
GitHub Pages site last deployed 2025-09-02
Dependencies
Installing piecewiseSEM adds 107 packages (51 with compiled code, 101 MB of source tarballs). Heaviest: stringi 11 MB, TH.data 8.2 MB, ggplot2 6.0 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 2.3.1Latest
- RR 4.5.0 released · 2025-04-11
- unarchivedReturned to CRAN2024-06-11
- 2.3.0.12024-06-11 · diff ↗
- archivedRemoved from CRAN2024-05-31email to the maintainer is undeliverable
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 2.3.0
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 2.1.22020-12-09 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 2.1.02019-12-05 · diff ↗ ·
removed 9 exports
Dag, partial.resid, sem.aic, sem.basis.set, sem.coefs, sem.fisher.c, sem.fit, sem.missing.paths, sem.model.fitsadded 3 exports
getCoefficients, getDAG, multigroup - RR 3.6.0 released · 2019-04-26
- 2.0.22018-07-24 · diff ↗
Show 14 earlier eventsHide 14 earlier events
- 2.0.1
- 2.0.02018-06-12 · diff ↗ ·
removed 1 export
pattern:^[[:alpha:]]+added 23 exports
%~~%, Dag, as.psem, basisSet, cerror, coefs, dSep, fisherC, infCrit, partial.resid, partialCorr, partialResid, psem, rsquared, sem.aic, sem.basis.set, sem.coefs, sem.fisher.c, sem.fit, sem.missing.paths, sem.model.fits, stdCoefs, unstdCoefs - RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- 1.2.12016-12-08 · diff ↗
- 1.2.02016-10-11 · diff ↗
- 1.1.32016-07-11 · diff ↗
- 1.1.22016-06-06 · diff ↗
- 1.1.12016-05-18 · diff ↗
- RR 3.3.0 released · 2016-05-03
- 1.12016-03-14 · diff ↗
- 1.0.32016-02-01 · diff ↗
- 1.0.02015-10-28
- RR 3.2.0 released · 2015-04-16
Package metadata
- First published
- 2015-10-28
- Total releases
- 16 / 11 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.5.0
- Bundled data
- 59 KB / 3 files
- Download size
- 120 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("piecewiseSEM")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1111/2041-210x.12512.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
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.