search indicatorNeed Help?
Lane will be closed Saturday Sept. 20, 2014 all day for flood renovation work.
We will reopen at noon Sunday Sept. 21, 2014

Classes

Basics of R Programming: Part 2

R is a powerful platform for statistics and graphics. Part 2 will focus on building complex graphics in R and basic statistics. R possess a wide range of graphic function that we will explore and use to build custom plots. Basic exploratory statistics often used in publications (interquartile range, linear regression, distributions) and graphical tools to represent them will be introduced.

Course Outline:

  • Discovery the R console and RStudio interface
  • Basic operation in R
    • Imputing data
    • Removing data
    • The help function
  • Data structures and data manipulation
    • Vectors
    • Matrices
    • Data frames
    • Lists
    • Problems
      • Using indexes to select data subset
      • Displaying your data
  • Import and export
    • Importing / exporting text file (.txt, .csv...)
    • Importing Excel (.xls, .xlsx)
    • Importing from SAS, SPSS, STATA, Systat...
    • Problems
    • How to save a R object
    • Editing an object with reshape
  • Basic of programming concept with R
    • Loops
    • Conditional executions
    • Problems
      • The Fibonacci list
      • Example of an R function

The lecture is based on the following books and websites:

About the Instructor:

David Ruau; Postdoctoral Research fellow, Pediatrics - Please if you have questions about course content, etc.

Prequisites:

Students must have completed the instructions installing R on a Windows Machine or a Mac before taking this class.