Some snippets of R code for POLI 706.