Package: semanticfa 0.1.0

semanticfa: Semantic Factor Analysis of Language Model Embeddings

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. Supports embedding-adapted parallel analysis, several similarity transforms (atomic reversed, SQuID centering, mean-centered Pearson), and fit diagnostics tailored to embedding matrices (TEFI, RMSR, CAF, McDonald's omega). The underlying methods are documented with full citations in the corresponding function help pages. Returns objects compatible with 'psych' and 'EFAtools' workflows.

Authors:Devon Yanitski [aut, cre], Chris Westbury [aut]

semanticfa_0.1.0.tar.gz
semanticfa_0.1.0.zip(r-4.7)semanticfa_0.1.0.zip(r-4.6)semanticfa_0.1.0.zip(r-4.5)
semanticfa_0.1.0.tgz(r-4.6-any)semanticfa_0.1.0.tgz(r-4.5-any)
semanticfa_0.1.0.tar.gz(r-4.7-any)semanticfa_0.1.0.tar.gz(r-4.6-any)
semanticfa_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
semanticfa/json (API)
NEWS

# Install 'semanticfa' in R:
install.packages('semanticfa', repos = c('https://devon7y.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/devon7y/semanticfa/issues

Datasets:
  • big5 - IPIP Big Five 50-Item Inventory with Sentence-BERT Embeddings

On CRAN:

Conda:

4.00 score 5 scripts 21 exports 27 dependencies

Last updated from:df270c5e53. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK218
source / vignettesOK264
linux-release-x86_64OK227
macos-release-arm64OK168
macos-oldrel-arm64OK183
windows-develOK164
windows-releaseOK155
windows-oldrelOK132
wasm-releaseOK155

Exports:as_psychsfasfa_anchorsfa_clear_cachesfa_congruencesfa_corplotsfa_dimselectsfa_embedsfa_install_pythonsfa_item_fitsfa_itemplotsfa_jinglejanglesfa_load_npzsfa_nfactorssfa_nli_matrixsfa_parallelsfa_projectsfa_redundancysfa_similaritysfa_simplifysfa_tsneplot

Dependencies:BHdqrngFNNGPArotationhereirlbajsonlitelatticeMatrixmnormtnlmepngpsychrappdirsRcppRcppAnnoyRcppEigenRcppProgressRcppTOMLreticulaterlangrprojrootRSpectraRtsnesitmouwotwithr

Getting Started with semanticfa

Rendered fromintroduction.Rmdusingknitr::rmarkdownon Jun 16 2026.

Last update: 2026-06-05
Started: 2026-06-03