Ben Haller: Programming in R

...back to my home page...
 



This is a two-part workshop I gave at McGill in 2012, as part of the statistics workshop series of McGill's Biology Graduate Students Association. Each part runs to about two hours. The slides and scripts posted here may be reused freely for non-profit purposes as long as credits and copyright notices are retained; to use them in other contexts, please contact me for terms. If you find this stuff useful, I'd love to hear from you; drop me an email.

All materials posted here are copyright © 2012 Ben Haller, All Rights Reserved.


Part I

flow control, subsetting and sorting, and writing functions

slides
workshop script
exercise sample solutions

Part II

coding for speed, debugging in R, and caveats of R

slides
workshop script
exercise sample solutions



This page copyright © 2012 Ben Haller Last updated 13 February 2012