library(swirl)
swirl()Week 1 Readings
Introduction to R/RStudio/Vectors
Required
Remember, this reading is mostly supplemental and will help you if there are concepts that are unclear in class.
- R and RStudio Basics (Chapter 3) - make sure to watch the videos.
- Skip the following sections in Chapter 3:
- 3.3.1, 3.3.3,
- Skip the following sections in Chapter 3:
- Intro to R & Rstudio, and Quarto from Day 1 of BSTA 511/611 in Fall 2023 (taught by Meike Niederhausen)
- Vectors and Data Frames (Section 3.3)
- Workflow: scripts and projects
Optional
Posit/R Cheatsheets
- Many useful information and tips can be found in the list of cheatsheets on the Posit website
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 Quarto.
- https://sph-r-programming-2023.netlify.app/reference/markdown.html
- Most of these topics are covered above in the Day 1 notes of BSTA 511/611.
- Skip the last two sections on Front matter and Citations, since these are different for Quarto.
- A similar resource for Quarto specifically
- Quarto YAML for html
- Quarto front matter
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:
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