Textual Statistics for the Quantitative Analysis of Textual Data

Textual statistics functions formerly in the 'quanteda' package. Textual statistics for characterizing and comparing textual data. Includes functions for measuring term and document frequency, the co-occurrence of words, similarity and distance between features and documents, feature entropy, keyword occurrence, readability, and lexical diversity. These functions extend the 'quanteda' package and are specially designed for sparse textual data.


quanteda.textstats: textual statistics for quanteda

CRANVersion Downloads TotalDownloads Codecov testcoverage R-CMD-check

About

Contains the textstat functions formerly in quanteda. For more details, see https://quanteda.io.

How to Install

The normal way from CRAN, using your R GUI or

install.packages("quanteda.textstats") 

Or for the latest development version:

# devtools package required to install quanteda from Github 
remotes::install_github("quanteda/quanteda.textstats") 

Because this compiles some C++ and Fortran source code, you will need to have installed the appropriate compilers.

If you are using a Windows platform, this means you will need also to install the Rtools software available from CRAN.

If you are using macOS, you should install the macOS tools, namely the Clang 6.x compiler and the GNU Fortran compiler (as quanteda.textstats requires gfortran to build). If you are still getting errors related to gfortran, follow the fixes here.

How to cite

Benoit, Kenneth, Kohei Watanabe, Haiyan Wang, Paul Nulty, Adam Obeng, Stefan Müller, and Akitaka Matsuo. (2018) “quanteda: An R package for the quantitative analysis of textual data”. Journal of Open Source Software. 3(30), 774. https://doi.org/10.21105/joss.00774.

For a BibTeX entry, use the output from citation(package = "quanteda.textstats").

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("quanteda.textstats")

0.97.2 by Kenneth Benoit, 2 years ago


https://quanteda.io


Report a bug at https://github.com/quanteda/quanteda.textstats/issues


Browse source code at https://github.com/cran/quanteda.textstats


Authors: Kenneth Benoit [cre, aut, cph] , Kohei Watanabe [aut] , Haiyan Wang [aut] , Jiong Wei Lua [aut] , Jouni Kuha [aut] , European Research Council [fnd] (ERC-2011-StG 283794-QUANTESS)


Documentation:   PDF Manual  


GPL-3 license


Imports quanteda, Matrix, methods, nsyllable, proxyC, Rcpp, stringi

Suggests entropy, ExPosition, proxy, rmarkdown, spelling, svs, testthat, knitr, covr

Linking to Rcpp, RcppArmadillo, quanteda


Imported by AutoPlots, LSX, LexisNexisTools, TextAnalysisR, highlightr, idiolect, newsmap, pseudobibeR, rainette, warmthcompetence.

Suggested by FocusGroup, poldis, quanteda.textplots, textAnnotatoR.


See at CRAN