Lesson 1: Getting Started: Basic R

Overview Section

Our main goal here is to become familiar with basic operations in R. We'll be using Chapter 1 of Essential R.


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

  • enter a small vector of data using the function c()
  • retrieve mean, standard deviation, and other summary data
  • use the indexing operator, [], to access parts of a data vector
  • retrieve previous commands using the arrow keys

Data and R Code Files

The R code file and data files for this lesson can be found on the Essential R - Notes on learning R page.