File size: 1,869 Bytes
a846767
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
##--##--##--##
## Figure 9
##--##--##--##

isr_survey_arab_content_covars <- estimateEffect(1:10 ~ identity_protesters_arab, isr_survey_text_analysis_arab$stm_topics, meta = docvars(isr_survey_text_analysis_arab$nv_dfm_arab), uncertainty = "Global")
isr_survey_arab_sum_content_covars = summary(isr_survey_arab_content_covars)

term_translated_arab = c("violent, protest, israel",
                         "justified, right, protest",
                         "violent, express, equal, demands",
                         "democracy, protest, rights",
                         "legitimate, support, sympathize, voice",
                         "difficult, situation, understand, pain",
                         "violent, protest, against",
                         "social, justice, protest",
                         "information, details, reason",
                         "violence, arab, community, minority")

estimate = rep(NA, 10)
std.error = rep(NA, 10)

for(i in 1:length(isr_survey_arab_sum_content_covars$tables)){
  estimate[i] = isr_survey_arab_sum_content_covars$tables[[i]][2,1]
  std.error[i] = isr_survey_arab_sum_content_covars$tables[[i]][2,2]
}

isr_survey_arab_stm_results = data.frame("term" = term_translated_arab, "estimate" = estimate, "std.error"= std.error)
isr_survey_arab_stm_results = isr_survey_arab_stm_results[order(isr_survey_arab_stm_results$estimate, decreasing = T),]

dwplot(isr_survey_arab_stm_results, 
       vline = geom_vline(xintercept = 0, colour = "grey60", linetype = 2), dot_args = list(size = 2.5)) +
  theme_bw() + xlab("\nIsraeli white protesters . . . . . . . . . . . . . . . . . . Israeli Arab protesters") +
  theme(text = element_text(size=12), axis.text.x = element_text(angle = 0, hjust = 1), legend.position = "none") +
  scale_colour_grey(start = 0, end = 0)
ggsave(file="Figures/fig_9.pdf", width=8, height=6)