R Open Lab Fall 2018 – Randomness and linear regression

In today’s open lab, we didn’t cover a lot. We first looked at how to generate random samples with certain conditions. Then we did an easy example of linear regression in R. The purpose of this lab is to let attendants understand how randomness works in R and how to use linear regression model for their own scenario.
Here is the link to our open lab’s GitHub repository: https://github.com/wbh0912/R-Open-Lab-Fall-2018
If you have further questions regarding topics covered in the material, please feel free to drop in during consultation hours or leave a comment.