run_analysis.R - description Description of the algorithm: Activities and features Loading from files Convert 2nd column to characters Subsetting the data (only meands and std devs) Some prettyfying Datasets Loading datasets, activities and features for training Loading datasets, activities and features for testing Merging the input from the 3 files into 1 via cbind (so adding the columns to the right of the file) - both for train and test Merge the train and test files Factorize variables "Transpose" it using the reshape2 package. "Melt" in R-speak Get the means in there Export Write dataset to txt file