Course Project Samsung Data
run_analysis.R does the following:
-
sets the working directory
-
reads the training and the test datasets
-
merges the two datasets
-
assigns variable names for the measurements
-
adds the activity and the subject who performed the activity
-
extracts the mean and standard deviation variables for each measurement
-
names the activities with descriptive activity names
=> the first tidy data set: finalData1
- calculates the average of each variable for each activity and each subject
=> the second tidy data set: finalData2