This module introduces the R statistical environment, assuming no prior knowledge. It provides a foundation for the use of R for computation in later modules.
In addition to discussing basic data management tasks in R, such as reading in data and producing summaries through R scripts, we will also introduce R’s graphics functions, its powerful package system, and simple methods of looping.
Hands-on use of R is a major component of this module. Examples and exercises will use data drawn from biological and medical applications, including infectious diseases and genetics. Past participants have
Suggested pairings: All later modules.
Learning Objectives: After attending this module, participants will be able to:
- Use R to perform descriptive statistics including graphics.
- Read and write data files.
- Perform basic data manipulations (e.g. creating new variables, merging data sets).
- Write and use R script files.
- Install and load R packages, and be able to access the help system and other resources to facilitate their use.
- Perform basic inferential statistical analyses including regression analysis.
- Write and use R functions, and perform basic programming in R including loops.