Published in Blogs on Dustin S. Stoltz
Author Dustin S. Stoltz
![](https://www.dustinstoltz.com/blog/2021/8/29/creating-document-term-matrix-comparison-in-r/img/2021_stoltz_text_analysis_dtm_comparison_all_tng.png)
Original post on December 2020. Updated on August 2021. The Document-Term Matrix (DTM) is the foundation of computational text analysis, and as a result there are several R packages that provide a means to build one.