Other packages > Find by keyword >

semanticfa  

Semantic Factor Analysis of Language Model Embeddings
View on CRAN: Click here


Download and install semanticfa package within the R console
Install from CRAN:
install.packages("semanticfa")

Install from Github:
library("remotes")
install_github("cran/semanticfa")

Install by package version:
library("remotes")
install_version("semanticfa", "0.1.0")



Attach the package and use:
library("semanticfa")
Maintained by
Devon Yanitski
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2026-06-15
Latest Update: 2026-06-15
Description:
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.
How to cite:
Devon Yanitski (2026). semanticfa: Semantic Factor Analysis of Language Model Embeddings. R package version 0.1.0, https://cran.r-project.org/web/packages/semanticfa. Accessed 27 Jun. 2026.
Previous versions and publish date:
No previous versions
Other packages that cited semanticfa R package
View semanticfa citation profile
Other R packages that semanticfa depends, imports, suggests or enhances
Complete documentation for semanticfa
Functions, R codes and Examples using the semanticfa R package
Full semanticfa package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

AzureKeyVault  
Key and Secret Management in 'Azure'
Manage keys, certificates, secrets, and storage accounts in Microsoft's 'Key Vault' service: ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
assert  
Validate Function Arguments
Lightweight validation tool for checking function arguments and validating data analysis scripts. T ...
Download / Learn more Package Citations See dependency  
PeakSegOptimal  
Optimal Segmentation Subject to Up-Down Constraints
Computes optimal changepoint models using the Poisson likelihood for non-negative count data, subj ...
Download / Learn more Package Citations See dependency  
AHSurv  
Flexible Parametric Accelerated Hazards Models
Flexible parametric Accelerated Hazards (AH) regression models in overall and relative survival fram ...
Download / Learn more Package Citations See dependency  

27,535

R Packages

236,180

Dependencies

73,487

Author Associations

27,536

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA