R code for various computational statistics projects