Repository files navigation Getting and Cleaning Data: Peer Assignment
Clone this repository
You are strongly advised to read the surrounding documentation which comes with the Samsung data
It is assumed that the data is stored in the UCI_HAR_Dataset directory. If not, change the parentdirectory variable in run_analysis.R.
Run run_analysis.R.
Output is stored in meanstdaverages.csv and meanstdaverages.txt (tab seperated) in the working directory.
README.md
run_analysis.R
CodeBook.md
Tidy data
meanandstdaverages.csv
meanandstdaverages.txt (tab seperated)
Notes and assumptions on run_analysis.R
You may wish to change the parentdirectory variable to the Samsung data directory.
If meanFreq features are to be excluded, uncomment lines 62 and 63.
In the final data, subjects go 1,2,3,...,1,2,3...,... and activities go 1,1,1,...,2,2,2,.... In other words, the data is grouped first by activities.
Final output is stored in both csv and tab seperated txt formats.
activityID column is stored in the dataset along with the activitylabel.
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
You can’t perform that action at this time.