Wednesday, February 11, 2015 Getting the Data The data source for this project is from: http://groupware.les.inf.puc-rio.br/har. Reading in the training dataset that was downloaded from https://d396qusza40orc.cloudfront.net/predmachlearn/pml-training.csv:
training <- read.csv("pml-training.csv")
attach(training) #attaching data frame to reduce the length of the variable names associated to it.
Preprocessing the Data The first 7 variables in the training data set