2.1 Learning Objectives

After completing this lab, you should be able to:

  • Reference files using absolute and relative paths.
  • Create an R data frame from a data file stored on your computer.
  • Convert numeric or character vectors to factors.
  • Index vectors and data frames.