santoku
santoku

Reputation: 3437

how to make wordcloud2 display top frequency words in r

I used word cloud and wordcloud2 on same dataset and find results are quite different. Word cloud show words with highest frequency first, while wordcloud2 seems to be sampling from different frequency bucket, thus high frequency word not necessarily show up. Some functionality of wordcloud2 is quite cool, but how can I make it show all top frequency words ?

Upvotes: 0

Views: 2299

Answers (1)

Gek Huey Chua
Gek Huey Chua

Reputation: 11

You should try to set the size to a smaller number:

wordcloud2(demoFreq, size=0.5)         

Upvotes: 1

Related Questions