Question

I have created a wordcloud in R using package "wordcloud".

But It is plotting wordcloud in any random shape. I want wordcloud in circular or Ellipse shape.

Is there any facility provided by R to create wordcloud in different shapes?

Était-ce utile?

La solution

Wordcloud does create wordclouds in a circle I believe -- if it doesn't look circular, play around with the scale of the words and their minimum frequency for inclusion. Depending on what your original word dataset is, though, it might be hard to get it into a true wordcloud shape. Here's an example of a wordcloud that is quite dense -- it does ultimately end up looking circular.

http://binfalse.de/2011/08/wordpress-wordcloud-with-r/

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top