R_analysis script
======================================================== This source code read multiples sources files into data frames and create a tidy data frame df.
- Combine training and test data for X ( x_train + x_test)
- Combine training and test data for Y ( x_train + x_test)
- Apply tidy principles to transform features values into lower cases, remove letters such as (, -) and replace them with empty spaces
- Add headings x.train.test
- Add headings to y.train.test
- Combine subject.train and subject.test
- Rename columns variables to subject
- Assign each y.train.test to its activity label in activity.label
- Only graps data with mean and std variables
- Combine subject + y.train.test, observations with mean and std
# tidy data set
source("run_analysis.R")