作者hatemath1991 (hatemath)
看板R_Language
标题[问题] 关於wordcloud2绘图
时间Tue Oct 3 18:25:23 2017
[问题类型]:
程式谘询(我想用R 做某件事情,但是我不知道要怎麽用R 写出来)
[软体熟悉度]:
使用者(已经有用R 做过不少作品)
[问题叙述]:
抱歉自己耍蠢...後来发现把资料排序後就好了。
========================
现在想要使用wordcloud2绘制文字云,
但是想要的效果是频率最高的会出现在中间
然後字最大
但是跑出来都不是这样
我看一下help好像也没有关於这方面的设定
http://0rz.tw/8RdbM
然後顺便问一下,我是用rfacebook撷取柯文哲市长的公开粉丝页
----下面找到了utf-8的表情符号
但是里面留言用jiebaR切词之後都会有<ed><b1><8d>或者<ed><a0><bd>
[程式范例]:
wordcloud2(word_freq,minSize = 10, size = 1, gridSize = 1,shape="circle")
[环境叙述]:
R version 3.4.2 (2017-09-28)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 16.04.3 LTS
Matrix products: default
BLAS: /usr/lib/libblas/libblas.so.3.6.0
LAPACK: /usr/lib/lapack/liblapack.so.3.6.0
[关键字]:
wordcolurd2
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 140.125.96.131
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/R_Language/M.1507026326.A.429.html
※ 编辑: hatemath1991 (140.125.96.131), 10/03/2017 18:45:00
※ 编辑: hatemath1991 (140.125.96.131), 10/03/2017 18:58:14