Section: Module 2: Data Structures in R | Navigating RStudio | NextGenU.org

  • Welcome to Module 2. In this module, you will be delving deeper into the elements of R, specifically focusing on R objects and data entry techniques. Lesson 1 explores R objects extensively, providing insights into numbers, vectors, matrices, data frames, factors, lists, strings, and Boolean values, complemented by practical exercises to enter these objects into the R workspace. In Lesson 2, the focus shifts towards the techniques of entering and importing data into R, a fundamental skill in data analysis using this powerful language. This module is designed to solidify your understanding of R objects and to introduce core data handling capabilities. Module 2 is estimated to require 4 hours to complete.

    • Module 2: Lesson 1: R Objects
       
      Student Learning Outcomes:

      Upon completion of this lesson, you will be able to:

      • Discuss the concept of objects in R.
      • Discuss numbers, vectors, and matrices.
      • Enter numbers, vectors, and matrices in the workspace.
      • Discuss data frames, factors, lists, strings, and Boolean values.
      • Enter data frames, factors, lists, strings, and Boolean values in the workspace.

      Approximate time required to complete the readings (at 144 words/minute) and assignments for this module: 1 hour and 52 minutes.

       
      Required Learning Resources and Activities
    • Read the entire page. (7 minutes)
    • Read the entire page. (10 minutes)
    • Watch the entire video. (24 minutes)
    • Read the entire page. (15 minutes)
    • Module 2: Lesson 2: Entering and Importing Data into R
       
      Student Learning Outcomes:

      Upon completion of this lesson, you will be able to:

      • Enter and import data into R.

      Approximate time required to complete the readings (at 144 words/minute) and assignments for this module: 1 hour and 36 minutes.

       
      Required Learning Resources and Activities
    • Read the entire page. (10 minutes)
    • Watch the entire video. (13 minutes)
    • Do the hands-on exercise.
    • Do the hands-on exercise.