graph_add_dates: Function to add major dates to a base graph

Description Usage Arguments Examples

Description

This function adds major agreements to a base graph

Usage

1
graph_add_dates(base_graph, title, data, group_label, legend_label)

Arguments

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

Examples

1
graph_add_dates(negative_sentiment_graph, "Negative Sentiment and Major Agreements", dates, "major_agree", "Major agreements")

leslie-huang/faRc-sentiment-analysis-library documentation built on May 29, 2019, 2:50 p.m.