-
.Ensure that the run_analysis is in the UCI HAR Dataset directory as it will attempt to read the data from subdirectory
-
Ensure you have dplyr, data.table packages installed. Use install.packages("dplyr") and install.packages("data.table")
-
Run R Studio and setwd to the UCI HAR Dataset directoy.
-
Source("run_analysis.R")
-
The result file tidy_dataset_averages.txt has 180 records , resulting from averages by 30 subjects and 6 activities.
blkhoo / getting-and-cleaning-data Goto Github PK
View Code? Open in Web Editor NEWAssignments