Dane Wendell

Assistant Professor of Political Science, Illinois College

Dane Wendell is a Ph.D. in Political Science studying political behavior, political psychology, and biology of politics.

Go/No-Go Task and Political Ideology

This is just a sample of some brain data from the dissertation.

Code below. Had to relearn how to use geom_vline.

library(ggplot2)
a <- ggplot(df2, aes(x = time, y = erp, color = self_id_avg))
a + geom_line(size = 1.5) + 
  geom_vline(xintercept = 0, alpha = 0.35) +
  geom_hline(yintercept = 0, alpha = 0.35) +
  scale_color_manual(values = c("dodgerblue","firebrick1"),
                     name = "", labels = c("liberal","conservative")) + 
  theme_bw(base_size = 16) + 
  theme(legend.position=c(0.8, 0.9)) + 
  scale_y_reverse(limits = c(5, -10)) + 
  scale_x_continuous(breaks=seq(-400, 400, by=100), limits = c(-400,400)) + 
  annotate("text", label = "* Differences not significant", x = 275, y = -6, size = 4) +
  labs(title = "No relationship between self-reported political ideology 
       and error related negativity on the Go/No-Go task",
       y = "Amplitude of average event-related potential (μV)",
       x = "Time (in milliseconds)")