Data Intelligence, Business Analytics
Olivia Lau*, Center for Drug Evaluation and Research, Food and Drug Administration (FDA), USA
This course will cover common problems in R code, and offer techniques to make code more efficient and less prone to user error. By the end of the course, participants should be able to write efficient statistical software and validate existing code.
Topics will include:
| 1) Overview of R | (20 minutes) | |
| a) Units: Numeric, integer, character, and factor | ||
| b) Data structures: Vector, matrix, array, list, and data frames | ||
| c) Manipulating data structures | ||
| 2) Writing efficient R code | (40 minutes) | |
| a) Writing (and avoiding) loops | ||
| b) Vectorizing over matrices, arrays, and lists | ||
| 3) Writing functions | (20 minutes) | |
| a) Environments | ||
| b) Passing arguments and proper lexical scoping | ||
| 4) Making R code easy-to-use | (40 minutes) | |
| a) Implementing model functions in your code | ||
| b) Generic functions | ||
| 5) Validating statistical models | (30 minutes) | |
| a) Monte Carlo simulation | ||
| b) Unit tests | ||
| 6) Making R run fast | (30 minutes) | |
| a) Profiling R code | ||
| b) Calling compiled languages (C, C++, Fortran) from R | ||
UseRs (and programmers from other statistical languages) who are interested in learning how to write fast, easy-to-use R code.
Familiarity with a command line-based statistical package (e.g., R, SAS, etc) is required. Instructions on installing R and an R editor will be distributed via email prior to the course.
* Disclaimer: The views expressed in this presentation are those of the presenter and must not be taken to represent policy or guidance on behalf of the Food and Drug Administration. The Food and Drug Administration does not endorse or require use of any specific software including the software mentioned in the presentation.
Tags:
Permalink Reply by Louis Bruno on July 22, 2012 at 12:02pm Please send me more information about this course, time, registration, cost, etc.
My email is: brunoloui@gmail.com
Permalink Reply by Vincent Granville on July 22, 2012 at 3:40pm Contact Olivia Lau @ http://www.olivialau.org/contact.html
© 2013 AnalyticBridge.com is a subsidiary and dedicated channel of Data Science Central LLC