| |
| |
| |
|
|
| 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) |
|
|