Skip to contents

Takes as input data produced by gallicagram_associated or gallicagram_associated_lexicon and produces a graph describing the words the most commonly co-occurring with the keyword or lexicon of interest

Usage

gallicagraph_associated(data, labels_color = NA)

Arguments

data

A data frame produced by the gallicagram_associated or gallicagram_associated_lexicon functions

labels_color

A character string. The color in which to print the labels. Set to NA for no label.

Value

A graph describing the most common co-occurrences with a keyword or lexicon.

Examples

  gallicagram_associated("président", from = 2020) |>
    gallicagraph_associated(labels_color = "white")