This repo contains 3 files:
-
README.md (This file) This explains how the script run_analysis.R works
-
run_analysis.R This R script does the following:
- Take the data from the Samsung Galaxy S smartphone in your working directory.
- Merge and clean them up to make a tidy data set.
- Export it as a txt file.
-
tidydat.txt A tidy data set created by run_analysis.R
-
CodeBook.md A code book that describes the variables, the data, and any transformations or work that were performed to clean up the data
- 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 variable names.
- Creates a second, independent tidy data set with the average of each variable for each activity and each subject.