This repo contains my course project to Coursera "Getting And Cleaning Data" course. run_analysis.R t contains all functions and code, the code does this:
- downloade the files and unzip it in R, assigning them to objects- "X_train","y_train" and ect.
- assigning the names of the features to an object named "f".
- Cleaning the data.
- Merging the files into one big data set calles "my_data".
- Extracting only the required variables out of the 563 variables (the means and sds) into a new data set calles "mean_and_sd".
- Reanaming the activities in the new data set.
- Calaculating the required averages
- Write output data to a txt file (which i uploaded to the repo as well)