This is the assignment for week 4 of the Getting and Cleaning Data course offered through Coursera and Johns Hopkins.
Please note: You will need to adjust the script to match your working directory where you have unzipped the source data. Location provided here: http://archive.ics.uci.edu/ml/datasets/Human+Activity+Recognition+Using+Smartphones
Project Instructions Create one R script called run_analysis.R that does the following:
- Merges the training and the test sets to create one data set.
-
- Extracts only the measurements on the mean and standard deviation for each measurement.
-
- Uses descriptive activity names to name the activities in the data set
-
- Appropriately labels the data set with descriptive activity names.
-
- Creates a second data set with the average of each variable for each activity and each subject.
Additional Information can be found in the Codebook.