-
Read in the following files:
- X_test.txt
- X_train.txt
- y_test.txt
- y_train.txt
- subject_train.txt
- features.txt
-
Assign the descriptive column names to the test & train datasets
-
Find the "mean()" & "std()" columns in features.txt
-
Subset test & train to keep only the "mean()" & "std()" columns
-
Assign the descriptive activity names to the values in y_train & y_test
-
Attach the activity & subject columns to their respective train & test sets using cbind
-
Merge test & train data sets using rbind
-
Calculate the average of each variable for each activity and each subject using agggreate with the mean function
-
Notifications
You must be signed in to change notification settings - Fork 0
aaronring/TidyDataProject
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
This repository contains all the relevant materials for the 'Getting & Cleaning Data' course project.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published