Graph describing the evolution of the proportion of co-occurrences
gallicagraph_cooccur.RdTakes as input data produced by gallicagram_cooccur or
gallicagram_cooccur_lexicon and produces a graph
describing the evolution of the proportion of co-occurrences in this data set.
Value
A graph describing the evolution of the proportion of co-occurrences of two keywords in one or several corpora.
Details
This function can also be combined with faceting by adding for instance
+ facet_wrap(~ keyword) after calling the function.
Examples
gallicagram_cooccur("président", "ancien", cooccur_level = "articles") |>
gallicagraph_cooccur()
gallicagram_cooccur("président", "ancien", cooccur_level = "articles") |>
rbind(gallicagram_cooccur("président", "république", cooccur_level = "articles")) |>
gallicagraph_cooccur(color = keyword)
gallicagram_cooccur("président", "ancien", cooccur_level = "articles") |>
rbind(gallicagram_cooccur("président", "république", cooccur_level = "articles")) |>
gallicagraph_cooccur() +
ggplot2::facet_wrap(~ keyword)