Description Usage Arguments Examples
View source: R/generate_base_graph.R
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.
1 2 | generate_base_graph(y_var, y_legend, title, FARC_results, joint_results,
govt_results)
|
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 |
1 | generate_base_graph("EmoNeg", "Negative Emotion", "Graph of Negative Emotion", FARC_results, joint_results, govt_results)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.