Teaser: simple word clustering
In the next chapter, we cover some miscellaneous (yet very important) text mining subjects including:
- TDM/DTM weighting
- Dealing with TDM/DTM sparsity
- Capturing metadata
- Simple word clustering for topics
- Analysis on more than one word
For now, let's simply create a new visual called a dendrogram from our coffee_tweets
. The next chapter will explain it in detail.
This exercise is part of the course
Text Mining with Bag-of-Words in R
Exercise instructions
A hierarchical cluster object, hc
, has been created for you from the coffee tweets.
Create a dendrogram using plot()
on hc
.
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Plot a dendrogram
___