Other packages > Find by keyword >

wordorientation  

Detect Attraction and Repulsion Between Words in Text
View on CRAN: Click here


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

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

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



Attach the package and use:
library("wordorientation")
Maintained by
Yosley Carrero
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2026-08-08
Latest Update: 2026-08-08
Description:
Provides tools to quantify how strongly pairs of words attract or repel each other in a text corpus, based on co-occurrence patterns. For each word pair, the phi coefficient (a correlation measure for binary variables) is computed from a document-term matrix and tested for significance, then classified as showing attraction (co-occurring more than chance would predict), repulsion (co-occurring less than chance would predict), or no significant relationship. A full pipeline is provided from raw text to a labeled network visualization. Unlike general-purpose pairwise correlation tools, 'wordorientation' is built specifically for text: it handles tokenization and stopword removal, applies significance-based classification rather than reporting a raw correlation coefficient alone, and produces a ready-to-plot attraction/ repulsion network.
How to cite:
Yosley Carrero (2026). wordorientation: Detect Attraction and Repulsion Between Words in Text. R package version 0.1.0, https://cran.r-project.org/web/packages/wordorientation. Accessed 25 Oct. 2026.
Previous versions and publish date:
No previous versions
Other packages that cited wordorientation R package
View wordorientation citation profile
Other R packages that wordorientation depends, imports, suggests or enhances
Complete documentation for wordorientation
Functions, R codes and Examples using the wordorientation R package
Full wordorientation package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
imputeTS  
Time Series Missing Value Imputation
Imputation (replacement) of missing values in univariate time series. Offers several imputation fu ...
Download / Learn more Package Citations See dependency  
nlstools  
Tools for Nonlinear Regression Analysis
Several tools for assessing the quality of fit of a gaussian nonlinear model are provided. ...
Download / Learn more Package Citations See dependency  
guardianapi  
Access 'The Guardian' Newspaper Open Data API
Access to 'The Guardian' newspaper's open API , containing ...
Download / Learn more Package Citations See dependency  
fstcore  
R Bindings to the 'Fstlib' Library
The 'fstlib' library provides multithreaded serialization of compressed data frames using the 'fst' ...
Download / Learn more Package Citations See dependency  
RcmdrPlugin.aRnova  
R Commander Plug-in for Repeated-Measures ANOVA
R Commander plug-in for repeated-measures and mixed-design ('split-plot') ANOVA. It adds a new men ...
Download / Learn more Package Citations See dependency  

29,218

R Packages

247,686

Dependencies

77,281

Author Associations

29,219

Publication Badges

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