Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 1.68 KB

File metadata and controls

40 lines (26 loc) · 1.68 KB

CodeBook

Variables

Main Vars

  • data : binded x, y, s, then "extracts only the measurements on the mean and standard deviation for each measurement"
  • summary : a second, independent tidy data set with the average of each variable for each activity and each subject from 'data'.
  • summary2: a second, independent tidy data set with the average of each variable for each activity and each subject from 'x'.

Others Vars

  • test and train : temp vars for read test/_test.txt and train/_train.txt.
  • x : raw data from test/X_test.txt and train/X_train.txt
  • y : raw data from test/y_test.txt and train/y_train.txt
  • s : raw data from test/subject_test.txt and train/subject_train.txt
  • condi : temp var for "extracts only the measurements on the mean and standard deviation for each measurement"
  • lbls and act : temp vars for "Uses descriptive activity names to name the activities in the data set"

Output

tidy-1.txt

result of:

  • Merges the training and the test sets to create one data set.
  • Extracts only the measurements on the mean and standard deviation for each measurement.
  • Uses descriptive activity names to name the activities in the data set
  • Appropriately labels the data set with descriptive variable names.

tidy-2-mean_std_only.txt

a tidy data set with the average of each variable for each activity and each subject from 'data (or tidy-1.txt)'.

It is extracted only the measurements on the mean and standard deviation for each measurement.

tidy-2-all.txt

a tidy data set with the average of each variable for each activity and each subject from 'x (or test/X_test.txt and train/X_train.txt)'.

It is Not extracted.