JSTORplotVocabCount: JSTORplotVocabCount

Description Usage Arguments Value Examples

Description

This function plots the number of appearences of a set of words in abstracts or titles of a tidyJSTOR dataframe

Usage

1
JSTORplotVocabCount(df.list, legend, smooth = FALSE, YearBounds)

Arguments

df.list

A list or a single dataframe in the JSTOR_df format (see: JSTOR_df())

legend

A vector of charcters to be used as legends matching the number of df in df.list c("legend1", "legend2", ..., "legendN")

smooth

Whether to smooth curves. Default smooth = FALSE

YearBounds

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

Value

A dataframe of counted words JSTORVocabCount

Examples

1
2
3
JSTORplotVocabCount(df, c("theory", "theories", "theoretical"))

JSTORplotVocabCount(c(df1, df2), c("df1Legend", "df2Legend"), smooth =TRUE, 2010)

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