Wordcloud function, from the wordcloud package.
1 2 3 4 |
words |
the words |
freq |
their frequencies |
scale |
A vector of length 2 indicating the range of the size of the words. |
min.freq |
words with frequency below min.freq will not be plotted |
max.words |
Maximum number of words to be plotted. least frequent terms dropped |
random.order |
plot words in random order. If false, they will be plotted in decreasing frequency |
random.color |
choose colors randomly from the colors. If false, the color is chosen based on the frequency |
rot.per |
proportion words with 90 degree rotation |
colors |
color words from least to most frequent |
ordered.colors |
if true, then colors are assigned to words in order |
use.r.layout |
if false, then c++ code is used for collision detection, otherwise R is used |
fixed.asp |
if TRUE the aspect ratio is fixed. Variable aspect ratio only supported if rot.per == 0 |
asp |
aspect ratio of plot (if fixed aspect ratio) |
... |
Additional parameters to be passed to text (and strheight, strwidth). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.