quote_cloud {statquotes} | R Documentation |
Generate a word cloud based upon quote database
Description
This function takes a search pattern (or regular expression) and generates a word cloud based upon that filter.
Usage
quote_cloud(search = ".*", max.words = 80, colors, ...)
Arguments
search |
Character string (or regular expression) used to search the database. Default is to search all quotes. |
max.words |
Integer; The maximum number of words to be plotted. |
colors |
A character vector of colors to be used to designate word frequency. The default is 5 levels, from light to dark green. |
... |
additional arguments passed to |
Value
None. A wordcloud is plotted.
See Also
statquote
, quote_tags
, quotes
,
search_quotes
. wordcloud
Examples
quote_cloud()
quote_cloud(search = "graph")
quote_cloud(max.words = 10)
[Package statquotes version 0.3.2 Index]