Skip to content

subzero76/GettingCleaningData

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#Readme

Run the "run_analysis.R" script. This script will perform the following:

  • combine the data from both the test and train sets
  • assign names for each of the columns based on the features data set
  • combine the above with the activity and subject data sets so that each row from the above sets corresponds to a specific subject and activity
  • Keep only the relevant columns (columns relating to mean and standard deviation) in the data set
  • Calculate the mean for each column group by the activity and subject
  • Replace the activity column (based on ID) by its corresponding activity description
  • Write the data into a txt file

Instructions

  1. Run the script by doing the following:-
    source("run_analysis.R") runanalysis()

  2. Once the function completes, go to the working directory and open the resultant txt file named "tidydata.txt"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages