R functions and scripts I have found useful for data analysis.