-
First gets the working directory. Make sure the folder of the required data is in the working directory.
-
Reads features.txt and activity_labels.txt to get descriptive names. It will find out measurements of mean and std.
-
Reads data, label(activity) and subject from train/test and combine them
-
Since we have find out the measurements of mean and std in step 2, we extract them from the data set.
-
using ddply from plyr packages to create data set with the average of each variable for each activity and each subject
-
labels the data set with descriptive activity names
-
write the result to txt file
mrluoyh/getdata_peer_assessments
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|