Skip to content

Commit aecbaac

Browse files
added red line and added image of all sentiment
1 parent 2f27c22 commit aecbaac

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

2018-04-21-AllNews.png

9.65 KB
Loading

AnalysingNewsSentiment.R

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ for (FILE in filesToAdd) {
2323
}
2424

2525
# plot it
26-
ggplot(S_LOG, aes(x = day, y = ave_pol)) + geom_line()+facet_grid(~country)
26+
ggplot(S_LOG, aes(x = day, y = ave_pol)) + geom_line()+facet_grid(~country)+
27+
geom_hline(aes(yintercept = 0, col = "zero"))
2728

2829
# some data manipulation?
2930
S_LOG_W <- spread(S_LOG, key = country, value = ave_pol)

0 commit comments

Comments
 (0)