Discussion 1: Intro to R and the lm Function


In this discussion, we will introduce the statistical programming language R. You will learn/review basic R functions, some probability distributions (models) in R, how to use R's "lm" function to fit a linear model, and how to create various plots. Work through the following four pages (in order).

Intro to R
Basic R Functions
Probability Models in R
Linear Models in R


Optional

More Advanced R Commands


Stats 111/202 Webpage