थोड़ा रंग भरें
सिर्फ complaints पर ध्यान दें तो कैसा रहेगा? और थोड़ा रंग भी जोड़ते हैं. Red यहाँ ठीक लगेगा. wordcloud पैकेज पहले से लोड है, साथ ही tidy_twitter भी.
यह अभ्यास पाठ्यक्रम का हिस्सा है
R में Text Analysis परिचय
अभ्यास निर्देश
- केवल complaints के लिए word counts निकालें और उसे
word_countsमें असाइन करें. - शीर्ष 50 terms का complaint word cloud बनाएँ, जिसका रंग red हो.
इंटरैक्टिव व्यावहारिक अभ्यास
इस अभ्यास को इस नमूना कोड को पूरा करके आज़माएँ।
# Compute complaint word counts and assign to word_counts
word_counts <- ___ %>%
___(___) %>%
___(___)
# Create a complaint word cloud of the top 50 terms, colored red
___(
___,
___,
___,
___
)