简体   繁体   English

R中不同形状的Wordcloud

[英]Wordcloud in different shapes in R

I have created a wordcloud in R using package "wordcloud". 我已经使用包“ wordcloud”在R中创建了一个wordcloud。

But It is plotting wordcloud in any random shape. 但是,它正在以任何随机形状绘制wordcloud。 I want wordcloud in circular or Ellipse shape. 我想要圆形或椭圆形的wordcloud。

Is there any facility provided by R to create wordcloud in different shapes? R是否提供任何功能来创建不同形状的wordcloud?

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. 我相信Wordcloud确实会围成一圈创建wordclouds-如果它看起来不是圆形的,请试一下单词的大小和其包含的最小频率。 Depending on what your original word dataset is, though, it might be hard to get it into a true wordcloud shape. 但是,根据原始单词数据集的不同,可能很难将其变成真正的wordcloud形状。 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/ http://binfalse.de/2011/08/wordpress-wordcloud-with-r/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM