quote_cloud: Generate a word cloud based upon quote database

View source: R/quote_cloud.R

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

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)


statquotes documentation built on Oct. 10, 2023, 5:07 p.m.