Lab #0 Markdown File

Lab Instructions

You can use this example lab file to make sure you can Knit R Markdown files in RStudio. This lab will not be graded, so don’t worry about submitting it. Feel free to ask the TA if you are unsure about the submission format.

See the “Instructions” section of the Introduction to Lab Assignments page for more information about the labs. That page also gives descriptions for the datasets we will be using.

Required reading:

Any required readings for the labs will be listed here.

Optional resources:

Optional readings for the labs will be listed here.

Setup

Every lab will have some code that loads several libraries and the dataset you should use for the lab. If you need to load other libraries to generate your solutions, you can add that code here - I just wrote these to get you started.


Example Questions


1. List the names of each column in the congress dataset we loaded above.

colnames(congress)
## [1] "bioguide_id" "full_name"   "type"        "party"       "state"      
## [6] "birthdate"   "gender"      "birthyear"


That’s it for this example lab! Most labs are about 10 problems long.