Introduction to R/RStudio/Vectors/For Loops

Required

Remember, this reading is mostly supplemental and will help you if there are concepts that are unclear in class.

Optional

Markdown Basics

This is a short reference on how to do formatting in Markdown. This is optional, but may be a helpful reference as you continue on and work with Markdown and RMarkdown.

https://sph-r-programming-2022.netlify.app/reference/markdown.html

Swirl Basics

I’m going to highlight another resource for learning basic R concepts: swirl. This is a software package for R.

To start it, run the following code in the console in RStudio Cloud:

library(swirl)
swirl()

You’ll want to take a look at the R Programming course, especially the following sections:

  1. Basic Building Blocks
  2. Sequences of Numbers
  3. Vectors
  4. Missing values