# Functions for a Variety of Stylometric Analyses

## Documentation for package ‘stylo’ version 0.6.4

- DESCRIPTION file.
- Package NEWS.

## Help Pages

assign.plot.colors | Assign colors to samples
classify | Machine-learning classification
crossv | Function to Perform Cross-Validation
define.plot.area | Define area for scatterplots
delete.markup | Delete HTML or XML tags
delete.stop.words | Exclude stop words (e.g. pronouns, particles, etc.) from a dataset
dist.argamon | Delta Distance
dist.cosine | Cosine Distance
dist.delta | Delta Distance
dist.eder | Delta Distance
dist.simple | Cosine Distance
galbraith | Table of word frequencies (Galbraith, Rowling, Cobenm, Tolkien, Lewis)
gui.classify | GUI for the function classify
gui.oppose | GUI for the function oppose
gui.stylo | GUI for stylo
lee | Table of word frequencies (Lee, Capote, Faulkner, Styron, etc.)
load.corpus | Load text files
load.corpus.and.parse | Load text files and perform pre-processing
make.frequency.list | Make List of the Most Frequent Elements (e.g. Words)
make.ngrams | Make text n-grams
make.samples | Split text to samples
make.table.of.frequencies | Prepare a table of (relative) word frequencies
novels | A selection of 19th-century English novels
oppose | Contrastive analysis of texts
parse.corpus | Perform pre-processing (tokenization, n-gram extracting, etc.)
parse.pos.tags | Extract POS-tags or Words from Annotated Corpora
perform.culling | Exclude variables (e.g. words, n-grams) from a frequency table that are too characteristic for some samples
perform.delta | Distance-based classifier
perform.impostors | An Authorship Verification Classifier Known as the Impostors Method
perform.knn | k-Nearest Neighbor classifier
perform.naivebayes | Naive Bayes classifier
perform.nsc | Nearest Shrunken Centroids classifier
perform.svm | Support Vector Machines classifier
rolling.classify | Sequential machine-learning classification
rolling.delta | Sequential stylometric analysis
stylo | Stylometric multidimensional analyses
stylo.default.settings | Setting variables for the package stylo
stylo.package | Stylometric multidimensional analyses
stylo.pronouns | List of pronouns
txt.to.features | Split string of words or other countable features
txt.to.words | Split text into words
txt.to.words.ext | Split text into words: extended version
zeta.chisquare | Compare two subcorpora using a home-brew variant of Craig's Zeta
zeta.craig | Compare two subcorpora using Craig's Zeta
zeta.eder | Compare two subcorpora using Eder's Zeta