generate_base_graph: Function to generate a base graph of sentiment

Description Usage Arguments Examples

Description

This function generates a time series graph of 1 type of sentiment x the 3 actors. Includes scatterplot of observed values as well as loess curves.

Usage

1
2
generate_base_graph(y_var, y_legend, title, FARC_results, joint_results,
  govt_results)

Arguments

y_var

Name of the y variable to be plotted (must match column name in the dataframes)

y_legend

Name for the y variable to appear in the legend

title

Title for the graph

FARC_results

df of FARC LIWC results

joint_results

df of joint LIWC results

govt_results

df of govt LIWC results

Examples

1
generate_base_graph("EmoNeg", "Negative Emotion", "Graph of Negative Emotion", FARC_results, joint_results, govt_results)

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