Skip to contents

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

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 search_quotes and wordcloud

Value

None. A wordcloud is plotted.

See also

Examples

quote_cloud()

quote_cloud(search = "graph")

quote_cloud(max.words = 10)