我有以下用于绘制词云的代码,并且收到后续错误。
wordcloud(dm$word, dm$freq, scale=c(8,.2),min.freq=2,
+ max.words=Inf, random.order=FALSE, rot.per=.15, colors=rainbow
>Warning message:
In wordcloud(dm$word, dm$freq, scale = c(8, 0.2), min.freq = 2,:health insurance could not be fit on page. It will not be plotted. Unable to view plot.
我不明白为什么会发生这种情况。请帮忙。
尝试较小的规模,例如:
wordcloud(Election2016Corpus, max.words =100,min.freq=3,scale=c(4,.5),
random.order = FALSE,rot.per=.5,vfont=c("sans serif","plain"),colors=palette())
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)