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 17 Jul. 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

FastKNN  
Fast k-Nearest Neighbors
Compute labels for a test set according to the k-Nearest Neighbors classification. This is a fast wa ...
Download / Learn more Package Citations See dependency  
VFS  
Vegetated Filter Strip and Erosion Model
Empirical models for runoff, erosion, and phosphorus loss across a vegetated filter strip, given sl ...
Download / Learn more Package Citations See dependency  
alabama  
Constrained Nonlinear Optimization
Augmented Lagrangian Adaptive Barrier Minimization Algorithm for optimizing smooth nonlinear object ...
Download / Learn more Package Citations See dependency  
rt.test  
Robustified t-Test
Performs one-sample t-test based on robustified statistics using median/MAD (TA) and Hodges-Lehmann/ ...
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  
VEwaningVariant  
Vaccine Efficacy Over Time - Variant Aware
Implements methods for inference on potential waning of vaccine efficacy and for estimation of vacci ...
Download / Learn more Package Citations See dependency  

27,806

R Packages

239,283

Dependencies

73,837

Author Associations

27,807

Publication Badges

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