1. सीखें
  2. /
  3. पाठ्यक्रम
  4. /
  5. Introduction to Text Analysis in R

Connected

अभ्यास

Creating a DTM

Create a document term matrix (DTM) using our tidy_twitter data. In this case, each tweet is considered a document. Print tidy_twitter in the console to confirm the column names.

निर्देश

100 XP
  • Start with the tidied Twitter data.
  • Count each word used in each tweet.
  • Use the word counts by tweet to create a DTM.