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 03 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

sudokuAlt  
Tools for Making and Spoiling Sudoku Games
Tools for making, retrieving, displaying and solving sudoku games. This package is an alternative to ...
Download / Learn more Package Citations See dependency  
WA  
While-Alive Loss Rate for Recurrent Event in the Presence of Death
Contains inferential and graphical routines for multi-group analysis of while-alive loss (or event) ...
Download / Learn more Package Citations See dependency  
Maintainer: Lu Mao (view profile)
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
mxmmod  
Measurement Model of Derivatives in 'OpenMx'
Provides a convenient interface in 'OpenMx' for building Estabrook's (2015) ...
Download / Learn more Package Citations See dependency  
cccrm  
Concordance Correlation Coefficient for Repeated (and Non-Repeated) Measures
Estimates the Concordance Correlation Coefficient to assess agreement. The scenarios considered are ...
Download / Learn more Package Citations See dependency  

28,905

R Packages

247,686

Dependencies

76,495

Author Associations

28,834

Publication Badges

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