\begin{Schunk}
\begin{Sinput}
 library(ggplot2)
 p1 <- ggplot(dat, aes(x = agency, y = posAffect))
 p1
\end{Sinput}
\end{Schunk}
