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.
- Introduction to RStudio Cloud Video
- R and RStudio Basics - make sure to watch the videos.
- Vectors and Data Frames
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.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:
- Basic Building Blocks
- Sequences of Numbers
- Vectors
- Missing values