I am using dwplot() to plot estimates corresponding to years over the 1997-2011 period in an event-study type graph. However, I would like to add a line that connects the dots (as is default when plotting coefficients in other statistical packages).
I have attempted using geom_plot or an overlayed ggplot() object without much success.
My simple code is below:
# Plot using 'dwplot' (have to set variable order manually, stored in `var_order')
dwplot(est1, order_vars = rev(var_order), vline = geom_vline(xintercept = 0, colour = "grey60", linetype = 1))+
theme_bw() + xlab("") + ylab("Year") + coord_flip()
which generates a horizontal plot of estimates where the variable names are the years 1997-2011.