Skip to content

LFTang/DataCleaningAssign

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Running the script

  1. Download the data from https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip
  2. Unzipp the files into "~/R" folder.
  3. Excecute run_anlysis.R script

Function of the script

Running the script in R will:

  1. Combin measurements from both the training and testing sets into one dataset using cbind().
  2. Extract only the measurements on the mean and standard deviation for each measurement by subsetting based on column names.
  3. Include subject number and their represented activity in the dataset by rbind().
  4. Calculate an average of each parameters by each participant and activity using dplyr() functions.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages