Description Usage Arguments Value Examples
Creates dataframe or plot with information regarding top bigrams that appear at least for a determined time period in the top.
1 | compareJSTOR_dfs(df1, df2, y, x, legend, comparisonType, YearBounds)
|
df1 |
A dataframe in the JSTOR_df format (see: JSTOR_df()) |
df2 |
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 |
legend |
A vector of charcters to be used as legends matching the number of dfs (2): c("legend1", "legend2") |
comparisonType |
Which type of caomparison to make. Acceptable entries: "Words", "Bigrams", "Trigrams" and "Journal". |
YearBounds |
Optional vector with inferior and superior Year bounds for the plot. Ex: c(1970,1990) |
A ggplot2 object
1 | compareJSTOR_dfs(dfx, dfk, 4, 4, c("legendx", "legendk", comparisonType = "Journal")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.