This file describes how the run_analysis.R script works. Read the codebook.md for details about the variables and prerequisites for running the run_analysis.R script.
the script has the following functions:
Merges the training and the test sets to create one data set. If merged dataset doesn't exist, the function creates it.
Extract only the measurements on the mean and standard deviation for each measurement from the loaded data set.
Give descriptive activity names to name the activities in the data set from the activity_labels.txt file.
Appropriately label the subject data with subject label.
Appropriately label the signal data with descriptive variable names.
Create a second, independent tidy data set with the average of each variable for each activity and each subject.