JSTORrepeatedTopBigrams: JSTORrepeatedTopBigrams

Description Usage Arguments Value Examples

Description

Creates dataframe or plot with information regarding top bigrams that appear at least for a determined time period in the top.

Usage

1
2
3
4
5
6
7
8
JSTORrepeatedTopBigrams(
  dfEco,
  y,
  x,
  StopWords = TRUE,
  output = "plot",
  YearBounds
)

Arguments

dfEco

A dataframe in the JSTOR_df format (see: JSTOR_df())

y

Determines the size of the ranking being observed for each year

x

Determines the number of times a bigram has to be part of the rank to be included in the dataframe or plot

StopWords

Whether to use default StopWords or a custom dataframe of stop words. If opted for custom, a dataframe of two columns (word, lexicon = "custom") must be provided.

output

Whether to output a dataframe or a plot. Acceptable entries: "plot" and "dataframe".

YearBounds

Optional vector with inferior and superior Year bounds for the plot. Ex: c(1970,1990)

Value

A ggplot2 object or a dataframe

Examples

1

arthurbnetto/tidyJSTOR documentation built on Feb. 13, 2020, 5:22 p.m.