Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

dabata/GettingAndCleaningDataProject

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#Getting and Cleaning Data Project (README.md)

Instructions

==================

Description of run_analysis.R

==================================

  1. import list of features and list of activities
  2. read and column binding test data (subjects,activities and features)
  3. read and column binding training data (subjects,activities and features)
  4. append test data to training data
  5. Extracts only the measurements on the mean and standard deviation for each measurement (only measurements ending with mean() or std() are retained)
  6. shift each retained feature by two columns : subject and activity columns already added
  7. join with activity_labels dataset to add activity labels
  8. average each variable by each activity and each subject
  9. reshape data (columns names modified by sqldef function) and advance labels column to be next to activities codes
  10. write data to txt file

Notes

========== script generated and tested under this environment: R version 3.1.0 (2014-04-10) -- "Spring Dance" Copyright (C) 2014 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 (64-bit)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.