Skip to content

yychiang/UCI-HAR-Dataset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

UCI-HAR-Dataset

This is a README file explaining the script of "run_analysis.R". Mainly, the script does the following:

    1. Merges the training and the test sets to create one data set.
    1. Extracts only the measurements on the mean and standard deviation for each measurement.
    1. Uses descriptive activity names to name the activities in the data set
    1. Appropriately labels the data set with descriptive variable names.
    1. From the data set in step 4, creates a second, independent tidy data set with the average of each variable for each activity and each subject.

In order to explain the script clearly, we devide it into 8 parts as below.

Part 1

Loading the features file.

Part 2

Extracts only the measurements on the mean and standard deviation.

Part 3

Loading the activity_labels.txt

Part 4

Loading the Training data sets.

Part 5

Loading the Test data sets.

Part 6

Merges the training and the test sets to create one data set.

Part 7

Uses descriptive activity names to name the activities in the data set.

Part 8

Write an independent tidy data set with the average of each variable for each activity and each subject.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages