The assignment submission of the course project for the Johns Hopkins Getting and Cleaning Data course.
- The data collected from the accelerometers from the Samsung Galaxy S smartphone.
A full description of the data used in this project can be found at Human Activity Recognition Using Smartphones - The raw data for the project Raw data
CodeBook.md
describes the variables, the data, and work that was performed to clean up the data.
run_analysis.R
contains all the code to perform the analyses described in the 5 steps. The script 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, independent tidy data set with the average of each variable for each activity and each subject.
The tidy dataset is shown in the file tidy_dts.txt
.
dplyr