- run_analysis.R
- CodeBook.md
- README.md
- Merges the training and test datasets
- Extracts key features (those having mean() and std())
- Appropriately name columns
- Adds an activity column to describe the activity (stored in variable data_set)
- A tidy data set is created that reports the mean grouped by subject and activity
- Stored in variable tidyData and file downloaded to "meansDataSet.txt"
Explains the variables, data transformations and why certain variables were chosen. Also includes more detailed explanation of the run_analysis code.
- Unzip the UCI Har Dataset in your working directory: link
- Download run_analysis.R to your working directory
- Run all the commands with :
source("run_analysis.R")
- This would ultimately download the tidy summary data "meansDataSet.txt" into your working directory. Also note that this will load all the necessary files into the environment and may take some time to run on your machine.