Skip to content

phantSEM

1.0.1Package record

Create Phantom Variables in Structural Equation Models for Sensitivity Analyses

0packages depend
4.8Kdownloads / year
75.7%test coverage
13/13flavors OK

Overview

About

Create phantom variables, which are variables that were not observed, for the purpose of sensitivity analyses for structural equation models. The package makes it easier for a user to test different combinations of covariances between the phantom variable(s) and observed variables. The package may be used to assess a model's or effect's sensitivity to temporal bias (e.g., if cross-sectional data were collected) or confounding bias.

Changes in 1.0.1
  • Added a NEWS.md file to track changes to the package.
  • Updated lavaan compatibility for correlation-to-covariance conversion (prefers lav_cor2cov() when available).

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.7 min · r-release-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 1.0.1
READMEYes · 159 wordsVignettesYes · 1 · dynamicNEWSYes · 67% structured · mentions 1.0.1Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
7 (2 internal)includes a package overview page
Examples that run
100%5 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%
Vignettes (1)

Downloads

4.8K
CRAN downloads in the past year
Rank #7,359 · ~13/day · ~403/mo
Daily download trend is not available in this view yet.
48130 days
1.2K90 days
4.8K1 year
Compare downloads with other packages →
Also on118 r2u6 autocran

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)

Installing phantSEM adds 26 packages (15 with compiled code, 20 MB of source tarballs). Heaviest: stringi 11 MB, lavaan 1.6 MB, vctrs 1.0 MB.

Depends (1)
R >= 3.5.1
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 1.0.0.0 (2023), Copyright holder
Releases (2)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.1Latest
    record
    2026-01-13 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.0.0.0
    record
    2023-09-07
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2023-09-07
Total releases
2 / 3 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.5.1
Download size
3.5 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("phantSEM")
Georgeson, A. (2026). phantSEM: Create Phantom Variables in Structural Equation Models for Sensitivity Analyses (Version 1.0.1) [Computer software]. https://doi.org/10.32614/CRAN.package.phantSEM

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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

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