This is a collection of functions optimized for working with with various kinds of text matrices. Focusing on the text matrix as the primary object - represented either as a base R dense matrix or a 'Matrix' package sparse matrix - allows for a consistent and intuitive interface that stays close to the underlying mathematical foundation of computational text analysis. In particular, the package includes functions for working with word embeddings, text networks, and document-term matrices. Methods developed in Stoltz and Taylor (2019) <doi:10.1007/s42001-019-00048-6>, Taylor and Stoltz (2020) <doi:10.1007/s42001-020-00075-8>, Taylor and Stoltz (2020) <doi:10.15195/v7.a23>, and Stoltz and Taylor (2021) <doi:10.1016/j.poetic.2021.101567>.
Package details |
|
---|---|
Author | Dustin Stoltz [aut, cre] (<https://orcid.org/0000-0002-4774-0765>), Marshall Taylor [aut] (<https://orcid.org/0000-0002-7440-0723>) |
Maintainer | Dustin Stoltz <dss219@lehigh.edu> |
License | MIT + file LICENSE |
Version | 0.2.0 |
URL | https://gitlab.com/culturalcartography/text2map |
Package repository | View on CRAN |
Installation |
Install the latest version of this package by entering the following in R:
|
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.