Programming Assignment for the 'Data Science' course 'Getting and Cleaning Data'
run_analysis.R
SubjectwiseActivityVariablewiseAVGs.csv
Files contained in the Samsung HAR data set
-
Load the data files into R tables.
-
Extracts the entries(feature no.s and feature names) from features table corresponding to the mean and standard deviation for each measurement and create two vectors containing the reqquisite feature numbers and feature names
-
Rectifies the errors in the feature names in features table.
-
Expand the cryptic feature names from features table into reader-friendly, easily understandable variable names.
-
Merges the training and test data sets into one after extracting only variables for the mean and standard deviation for each measurement..
-
Replace the cryptic variable names of the data set with reader-friendly, easily understandable variable names.
-
Match each subject to the corresponding activity.
-
Finally create a second, independent tidy data set with the average of each activity variable for each subject and activity.
-
Write the tidy dataset to the output file mentioned above/