author_cloud {gcite}R Documentation

Make Wordcloud of authors from Papers

Description

Takes a vector of authors and then creates a frequency table of those words and plots a wordcloud

Usage

author_cloud(authors, addstopwords = gcite_stopwords(),
  author_pattern = NULL, split = ",", verbose = TRUE,
  colors = c("#66C2A4", "#41AE76", "#238B45", "#006D2C", "#00441B"), ...)

author_frequency(authors, author_pattern = NULL, split = ",",
  addstopwords = gcite_stopwords(), verbose = TRUE)

Arguments

authors

Vector of authors of papers

addstopwords

Additional words to remove from wordcloud

author_pattern

regular expression for patterns to exclude from individual authors

split

split author names (default ","), passed to strsplit

verbose

Print diagnostic messages

colors

color words from least to most frequent. Passed to gcite_wordcloud_spec

...

additional options passed to gcite_wordcloud_spec

Value

A data.frame of the words and the frequencies of the authors

Examples

## Not run: 
L = gcite_author_info("John Muschelli")
paper_df = L$paper_df
authors = paper_df$authors
author_cloud(authors)

## End(Not run)

[Package gcite version 0.10.1 Index]