Important Dates
Practical Objectives
- Learn the concept of correlation, and how to measure this in R
- Learn how to run a linear regression model (interpret coefficient, and p-values)
- Measure model goodness of fit
Expected Outcomes
- A pdf file or word document generated from R Markdown file
Data
- Variety of variables about animals.

## Before running this code, please set up your working directory.
## And save your data file into the workind directory.
## Then run this code to load the data.
mammals <- read.csv('mammals.txt',sep='',stringsAsFactors=FALSE)
## Basic statistics about each variable.
summary(mammals)
- Create a new variable named ‘BrainPCT’
- BrainPCT = BrainWt/ (BodyWt *100)