Final Project
Steps to run run_analysis.R file :-
- Download the above zip file and unzip it
- Save the run_analysis.R file in the same directory as the extracted folder from the zip file
- Make sure you have 3.3.0 or higher version of R installed on your computer
- You should have dplyr and plyr libraries installed into your computer
- Run the R files in the R terminal (cli), the output tidy_dataSet.txt file will be created in the same directory containing the clean data
The R-code in run_analysis.R 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 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.