Skip to content

piecewiseSEM

2.3.1Package record

Piecewise Structural Equation Modeling

1packages dependsuggested by 2
37.6Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

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.

Changes in 2.3.1
  • Fixed issue with anchors in cross-references
  • Updated version number to three components

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.1 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-07
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 2.3.1
READMEYes · 150 wordsVignettesYes · 1 · staticNEWSYes · 100% structured · mentions 2.3.1Citation fileYes · cites a publication
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%
Vignettes (1)

Downloads

37.6K
CRAN downloads in the past year
Rank #1,774 · ~103/day · ~3.1K/mo
Daily download trend is not available in this view yet.
3.7K30 days
11.5K90 days
37.6K1 year
Compare downloads with other packages →
Also on225 r2u1.3K conda_forge140 c2d4u

Repository

182Stars
52Forks
73Open issues
5Open PRs
0Releases
1,323Commits
8Commit identities
semr
1,323 commits · Last activity 2025-09-02 · +1.7% stars, 30d
Responsiveness
How these are sampled
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

2025-09-07 · 1702026-10-20 · 182
PracticesBeta

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.

Docs source (1)

GitHub Pages site last deployed 2025-09-02

CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 4.5.0
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Suggested by 2
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (3)
Author, Maintainer since 1.0.0 (2015)
Author · added in 2.0.0
Author · added in 2.0.1
Listed in earlier versions (1)
Jim Grace
no longer listed · 2.0.0
Releases (16)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 2.3.1Latest
    record
    2025-09-02 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • unarchivedReturned to CRAN
    2024-06-11
  • 2.3.0.1
    record
    2024-06-11 · diff ↗
  • archivedRemoved from CRAN
    2024-05-31
    email to the maintainer is undeliverable
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 2.3.0
    record
    2023-03-04 · diff ↗ ·
    removed 1 export
    infCrit
    added 3 exports
    AIC_psem, LLchisq, getSortedPsem
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 2.1.2
    record
    2020-12-09 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 2.1.0
    record
    2019-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.fits
    added 3 exports
    getCoefficients, getDAG, multigroup
  • R
    R 3.6.0 released · 2019-04-26
  • 2.0.2
    record
    2018-07-24 · diff ↗
Show 14 earlier eventsHide 14 earlier events
  • 2.0.1
    record
    2018-07-03 · diff ↗ ·
    added 1 export
    evaluateClasses
  • 2.0.0
    record
    2018-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
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 1.2.1
    record
    2016-12-08 · diff ↗
  • 1.2.0
    record
    2016-10-11 · diff ↗
  • 1.1.3
    record
    2016-07-11 · diff ↗
  • 1.1.2
    record
    2016-06-06 · diff ↗
  • 1.1.1
    record
    2016-05-18 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 1.1
    record
    2016-03-14 · diff ↗
  • 1.0.3
    record
    2016-02-01 · diff ↗
  • 1.0.0
    record
    2015-10-28
  • R
    R 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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for piecewiseSEM version 2.3.1 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

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.

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