| |
| |
| |
|
|
| isr_survey_eth_content_covars <- estimateEffect(1:10 ~ identity_protesters_eth, isr_survey_text_analysis_eth$stm_topics, meta = docvars(isr_survey_text_analysis_eth$nv_dfm_eth), uncertainty = "Global") |
| isr_survey_eth_sum_content_covars = summary(isr_survey_eth_content_covars) |
|
|
| term_translated = c("protest, right, democracy, ethiopians", |
| "discrimination, justice, understand, frustration", |
| "equal, rights, treatment, deserve", |
| "racism, violence, protest", |
| "judge, physical, right, treatment", |
| "economic, crisis, unemployment, justified", |
| "support, people, understand", |
| "voice, protest, express", |
| "ethiopian, community, racism", |
| "violence, express, furious") |
|
|
|
|
| estimate = rep(NA, 10) |
| std.error = rep(NA, 10) |
| for(i in 1:length(isr_survey_eth_sum_content_covars$tables)){ |
| estimate[i] = isr_survey_eth_sum_content_covars$tables[[i]][2,1] |
| std.error[i] = isr_survey_eth_sum_content_covars$tables[[i]][2,2] |
| } |
|
|
| isr_survey_eth_stm_results = data.frame("term" = term_translated, "estimate" = estimate, "std.error"= std.error) |
|
|
| isr_survey_eth_stm_results = isr_survey_eth_stm_results[order(isr_survey_eth_stm_results$estimate, decreasing = T),] |
|
|
| dwplot(isr_survey_eth_stm_results, |
| vline = geom_vline(xintercept = 0, colour = "grey60", linetype = 2), dot_args = list(size = 2.5)) + |
| theme_bw() + xlab("\nIsraeli white protesters . . . . . . . . . . . . . Israeli Ethiopian 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_10.pdf", width=8, height=6) |
|
|