Performs exploratory factor analysis on language model embeddings of psychological scale items. Embeds item text with sentence transformers or other language models, transforms the embeddings into item-by-item similarity matrices, and extracts latent factor structure via standard exploratory factor analysis, using several similarity transforms (atomic reversed, SQuID centering, mean-centered Pearson) and fit diagnostics tailored to embedding matrices (TEFI, RMSR, CAF, McDonald's omega). Factor retention spans embedding-adapted parallel analysis, the empirical Kaiser criterion, Velicer's minimum average partial, a comparison-data misfit profile, and a calibrated learned rule that reports conformal intervals. Further tools orient factor axes toward retrieved construct terms by lexical target rotation, and audit whether a scale's items cover their construct's semantic region without collecting responses. The underlying methods are documented with full citations in the corresponding function help pages. Returns objects compatible with 'psych' and 'EFAtools' workflows.
| Version: | 0.5.0 |
| Depends: | R (≥ 4.1.0) |
| Imports: | digest, GPArotation, grDevices, graphics, psych, reticulate (≥ 1.41.0), Rtsne, stats, utils, uwot, withr |
| Suggests: | EFAtools, jsonlite, EGAnet, httr2, knitr, rmarkdown, testthat (≥ 3.0.0) |
| Published: | 2026-09-01 |
| DOI: | 10.32614/CRAN.package.semanticfa |
| Author: | Devon Yanitski |
| Maintainer: | Devon Yanitski <dyanitsk at ualberta.ca> |
| BugReports: | https://github.com/devon7y/semanticfa/issues |
| License: | GPL (≥ 3) |
| URL: | https://github.com/devon7y/semanticfa |
| NeedsCompilation: | no |
| Citation: | semanticfa citation info |
| Materials: | README, NEWS |
| CRAN checks: | semanticfa results |
| Reference manual: | semanticfa.html , semanticfa.pdf |
| Vignettes: |
Getting Started with semanticfa (source, R code) Naming the factors (source, R code) |
| Package source: | semanticfa_0.5.0.tar.gz |
| Windows binaries: | r-devel: semanticfa_0.1.1.zip, r-release: semanticfa_0.5.0.zip, r-oldrel: semanticfa_0.1.1.zip |
| macOS binaries: | r-release (arm64): semanticfa_0.5.0.tgz, r-oldrel (arm64): semanticfa_0.5.0.tgz, r-release (x86_64): semanticfa_0.5.0.tgz, r-oldrel (x86_64): semanticfa_0.5.0.tgz |
| Old sources: | semanticfa archive |
Please use the canonical form https://CRAN.R-project.org/package=semanticfa to link to this page.