Other packages > Find by keyword >

tidylo  

Weighted Tidy Log Odds Ratio
View on CRAN: Click here


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

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

Install by package version:
library("remotes")
install_version("tidylo", "0.2.0")



Attach the package and use:
library("tidylo")
Maintained by
Julia Silge
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2020-05-25
Latest Update: 2022-03-22
Description:
How can we measure how the usage or frequency of some feature, such as words, differs across some group or set, such as documents? One option is to use the log odds ratio, but the log odds ratio alone does not account for sampling variability; we haven't counted every feature the same number of times so how do we know which differences are meaningful? Enter the weighted log odds, which 'tidylo' provides an implementation for, using tidy data principles. In particular, here we use the method outlined in Monroe, Colaresi, and Quinn (2008) <doi:10.1093/pan/mpn018> to weight the log odds ratio by a prior. By default, the prior is estimated from the data itself, an empirical Bayes approach, but an uninformative prior is also available.
How to cite:
Julia Silge (2020). tidylo: Weighted Tidy Log Odds Ratio. R package version 0.2.0, https://cran.r-project.org/web/packages/tidylo. Accessed 11 Jun. 2026.
Previous versions and publish date:
0.1.0 (2020-05-25 21:10)
Other packages that cited tidylo R package
View tidylo citation profile
Other R packages that tidylo depends, imports, suggests or enhances
Complete documentation for tidylo
Functions, R codes and Examples using the tidylo R package
Some associated functions: bind_log_odds . 
Some associated R codes: bind_log_odds.R . globals.R .  Full tidylo package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

clusrank  
Wilcoxon Rank Tests for Clustered Data
Non-parametric tests (Wilcoxon rank sum test and Wilcoxon signed rank test) for clustered data docu ...
Download / Learn more Package Citations See dependency  
leontief  
Input-Output Analysis
An implementation of the Input-Output model developed by Wassily Leontief that represents the inter ...
Download / Learn more Package Citations See dependency  
Voss  
Generic Voss Algorithm (Random Sequential Additions)
Generating realizations of a fractal Brownian function on uniform 1D & 2D grid with classic and ...
Download / Learn more Package Citations See dependency  
stevedata  
Steve's Toy Data for Teaching About a Variety of Methodological, Social, and Political Topics
This is a collection of various kinds of data with broad uses for teaching. My students, and academ ...
Download / Learn more Package Citations See dependency  
hsphase  
Phasing, Pedigree Reconstruction, Sire Imputation and Recombination Events Identification of Half-sib Families Using SNP Data
Identification of recombination events, haplotype reconstruction, sire imputation and pedigree recon ...
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  

27,372

R Packages

233,548

Dependencies

72,820

Author Associations

27,205

Publication Badges

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