Lesson 1: Getting Started: Basic R
Our main goal here is to become familiar with basic operations in R. We'll be using Chapter 1 of Essential R.
Learning objectives & outcomes
Upon completion of this lesson, you should be able to do the following:
- 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 for this chapter can be found here or in the "Code Files" folder. This chapter does not require external data.