Description Usage Arguments Examples
View source: R/graph_add_dates.R
This function adds major agreements to a base graph
1 | graph_add_dates(base_graph, title, data, group_label, legend_label)
|
base_graph |
Ggplot graph to which datelines will be added |
title |
Title for the graph |
data |
Dataframe of dates with categorical labels |
group_label |
Group i.e. categorical variable value to graph |
legend_label |
Name of group for the graph legend |
1 | graph_add_dates(negative_sentiment_graph, "Negative Sentiment and Major Agreements", dates, "major_agree", "Major agreements")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.