Other packages > Find by keyword >

stylest2  

Estimating Speakers of Texts
View on CRAN: Click here


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

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

Install by package version:
library("remotes")
install_version("stylest2", "0.1")



Attach the package and use:
library("stylest2")
Maintained by
Christian Baehr
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2024-03-23
Latest Update: 2024-03-23
Description:
Estimates the authors or speakers of texts. Methods developed in Huang, Perry, and Spirling (2020) <doi:10.1017/pan.2019.49>. The model is built on a Bayesian framework in which the distinctiveness of each speaker is defined by how different, on average, the speaker's terms are to everyone else in the corpus of texts. An optional cross-validation method is implemented to select the subset of terms that generate the most accurate speaker predictions. Once a set of terms is selected, the model can be estimated. Speaker distinctiveness and term influence can be recovered from parameters in the model using package functions. Once fitted, the model can be used to predict authorship of new texts.
How to cite:
Christian Baehr (2024). stylest2: Estimating Speakers of Texts. R package version 0.1, https://cran.r-project.org/web/packages/stylest2. Accessed 06 Aug. 2026.
Previous versions and publish date:
No previous versions
Other packages that cited stylest2 R package
View stylest2 citation profile
Other R packages that stylest2 depends, imports, suggests or enhances
Complete documentation for stylest2
Functions, R codes and Examples using the stylest2 R package
Full stylest2 package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

RRedshiftSQL  
R Interface to the 'Redshift' Database
Superclasses 'PostgreSQL' connection to help enable full 'dplyr' functionality on 'Redshift'. ...
Download / Learn more Package Citations See dependency  
lsmeans  
Least-Squares Means
Obtain least-squares means for linear, generalized linear, and mixed models. Compute contrasts or l ...
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  
SAMBA  
Selection and Misclassification Bias Adjustment for Logistic Regression Models
Health research using data from electronic health records (EHR) has gained popularity, but miscla ...
Download / Learn more Package Citations See dependency  
TMDb  
Access to TMDb API
Provides an R-interface to the TMDb API (see TMDb API on < ...
Download / Learn more Package Citations See dependency  

28,083

R Packages

239,283

Dependencies

74,457

Author Associations

28,084

Publication Badges

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