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 05 Jun. 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

msm  
Multi-State Markov and Hidden Markov Models in Continuous Time
Functions for fitting continuous-time Markov and hidden Markov multi-state models to longitudinal d ...
Download / Learn more Package Citations See dependency  
ibb  
R Wrapper for Istanbul Municipality Open Data Portal
Call wrappers for Istanbul Metropolitan Municipality's Open Data Portal (Turkish: Istanbul B ...
Download / Learn more Package Citations See dependency  
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  
crossurr  
Cross-Fitting for Doubly Robust Evaluation of High-Dimensional Surrogate Markers
Doubly robust methods for evaluating surrogate markers as outlined in: Agniel D, Hejblum BP, Thiebau ...
Download / Learn more Package Citations See dependency  
envirem  
Generation of ENVIREM Variables
Generation of bioclimatic rasters that are complementary to the typical 19 bioclim variables. ...
Download / Learn more Package Citations See dependency  

27,268

R Packages

233,548

Dependencies

72,590

Author Associations

27,205

Publication Badges

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