Books & Videos

Table of Contents

  1. The R Language

    1. Chapter 1 Introduction

      1. Chapter Goals
      2. What Is R?
      3. Installing R
      4. Choosing an IDE
      5. Your First Program
      6. How to Get Help in R
      7. Installing Extra Related Software
      8. Summary
      9. Test Your Knowledge: Quiz
      10. Test Your Knowledge: Exercises
    2. Chapter 2 A Scientific Calculator

      1. Chapter Goals
      2. Mathematical Operations and Vectors
      3. Assigning Variables
      4. Special Numbers
      5. Logical Vectors
      6. Summary
      7. Test Your Knowledge: Quiz
      8. Test Your Knowledge: Exercises
    3. Chapter 3 Inspecting Variables and Your Workspace

      1. Chapter Goals
      2. Classes
      3. Different Types of Numbers
      4. Other Common Classes
      5. Checking and Changing Classes
      6. Examining Variables
      7. The Workspace
      8. Summary
      9. Test Your Knowledge: Quiz
      10. Test Your Knowledge: Exercises
    4. Chapter 4 Vectors, Matrices, and Arrays

      1. Chapter Goals
      2. Vectors
      3. Matrices and Arrays
      4. Summary
      5. Test Your Knowledge: Quiz
      6. Test Your Knowledge: Exercises
    5. Chapter 5 Lists and Data Frames

      1. Chapter Goals
      2. Lists
      3. NULL
      4. Pairlists
      5. Data Frames
      6. Summary
      7. Test Your Knowledge: Quiz
      8. Test Your Knowledge: Exercises
    6. Chapter 6 Environments and Functions

      1. Chapter Goals
      2. Environments
      3. Functions
      4. Summary
      5. Test Your Knowledge: Quiz
      6. Test Your Knowledge: Exercises
    7. Chapter 7 Strings and Factors

      1. Chapter Goals
      2. Strings
      3. Factors
      4. Summary
      5. Test Your Knowledge: Quiz
      6. Test Your Knowledge: Exercises
    8. Chapter 8 Flow Control and Loops

      1. Chapter Goals
      2. Flow Control
      3. Loops
      4. Summary
      5. Test Your Knowledge: Quiz
      6. Test Your Knowledge: Exercises
    9. Chapter 9 Advanced Looping

      1. Chapter Goals
      2. Replication
      3. Looping Over Lists
      4. Looping Over Arrays
      5. Multiple-Input Apply
      6. Split-Apply-Combine
      7. The plyr Package
      8. Summary
      9. Test Your Knowledge: Quiz
      10. Test Your Knowledge: Exercises
    10. Chapter 10 Packages

      1. Chapter Goals
      2. Loading Packages
      3. Installing Packages
      4. Maintaining Packages
      5. Summary
      6. Test Your Knowledge: Quiz
      7. Test Your Knowledge: Exercises
    11. Chapter 11 Dates and Times

      1. Chapter Goals
      2. Date and Time Classes
      3. Conversion to and from Strings
      4. Time Zones
      5. Arithmetic with Dates and Times
      6. Lubridate
      7. Summary
      8. Test Your Knowledge: Quiz
      9. Test Your Knowledge: Exercises
  2. The Data Analysis Workflow

    1. Chapter 12 Getting Data

      1. Chapter Goals
      2. Built-in Datasets
      3. Reading Text Files
      4. Reading Binary Files
      5. Web Data
      6. Accessing Databases
      7. Summary
      8. Test Your Knowledge: Quiz
      9. Test Your Knowledge: Exercises
    2. Chapter 13 Cleaning and Transforming

      1. Chapter Goals
      2. Cleaning Strings
      3. Manipulating Data Frames
      4. Sorting
      5. Functional Programming
      6. Summary
      7. Test Your Knowledge: Quiz
      8. Test Your Knowledge: Exercises
    3. Chapter 14 Exploring and Visualizing

      1. Chapter Goals
      2. Summary Statistics
      3. The Three Plotting Systems
      4. Scatterplots
      5. Line Plots
      6. Histograms
      7. Box Plots
      8. Bar Charts
      9. Other Plotting Packages and Systems
      10. Summary
      11. Test Your Knowledge: Quiz
      12. Test Your Knowledge: Exercises
    4. Chapter 15 Distributions and Modeling

      1. Chapter Goals
      2. Random Numbers
      3. Distributions
      4. Formulae
      5. A First Model: Linear Regressions
      6. Other Model Types
      7. Summary
      8. Test Your Knowledge: Quiz
      9. Test Your Knowledge: Exercises
    5. Chapter 16 Programming

      1. Chapter Goals
      2. Messages, Warnings, and Errors
      3. Error Handling
      4. Debugging
      5. Testing
      6. Magic
      7. Object-Oriented Programming
      8. Summary
      9. Test Your Knowledge: Quiz
      10. Test Your Knowledge: Exercises
    6. Chapter 17 Making Packages

      1. Chapter Goals
      2. Why Create Packages?
      3. Prerequisites
      4. The Package Directory Structure
      5. Your First Package
      6. Documenting Packages
      7. Checking and Building Packages
      8. Maintaining Packages
      9. Summary
      10. Test Your Knowledge: Quiz
      11. Test Your Knowledge: Exercises
  3. Appendixes

    1. Appendix Properties of Variables

    2. Appendix Other Things to Do in R

    3. Appendix Answers to Quizzes

    4. Appendix Solutions to Exercises

  1. Appendix Bibliography

  2. Index

  3. Colophon