August 01, 2016
Today we will talk about lists in R and how we use them with functions that return more than one output, the
lm() function to do linear regression, and the
aggregate() function. Go ahead and download the MLB payroll dataset to your working directory and load it with headers checked and Strings as factors unchecked. You’ll also want to download this R script template which you’ll use to follow along while we work through the code together.
Afterward, when we break up into our smaller sections, you’ll start to plan out your end-of-camp projects. The PhD TAs and the RTAs will be there to answer your questions and help you plan.