This project contains R code to clean the UCI dataset The R script will do 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 dataset
- Appropriately labels the data set with descriptive variable names
- From the data set in step 4, creates a second, independent tidy data set with the average of each variable for each activity and each subject
In order to run the script is to download the script to a directory and then run source("analysis.R") in R and you should be good to go.