1.1 Learning Objectives

After completing this lab, you should be able to do the following:

  • Explain what R is and describe its main uses.
  • Give (at least) 3 benefits of using R for data analysis.
  • Create R objects.
  • Identify R objects of the following R classes: numeric, character, logical, data.frame.
  • Apply basic operations to vectors in R.
  • Explain the basic structure of function calls.
  • Write scripts to manually enter data as data.frames in R.