The script run_analysis.R
does the following:
- Loads data files from the
UCI HAR Dataset
- as long as it exists in the working directory - Merges the training and test data
- Selects the mean and standard deviation variables
- Transforms the variable names, removes
()
and changes-
to_
- Takes the mean value per subject-activity pair
- Stores and writes the new data frame in
dataMeans.txt
in the working directory