Вопрос

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?

Это было полезно?

Решение

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/

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top