Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nex3z/getdata_peerassessment1
https://github.com/nex3z/getdata_peerassessment1
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/nex3z/getdata_peerassessment1
- Owner: nex3z
- Created: 2015-03-07T12:58:10.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-03-07T13:00:18.000Z (over 9 years ago)
- Last Synced: 2023-09-07T08:10:33.414Z (about 1 year ago)
- Language: R
- Size: 203 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Peer Assessment for Getting and Cleaning Data
## Instructions
You should create one R script called run_analysis.R that does the following.
1. Merges the training and the test sets to create one data set.
2. Extracts only the measurements on the mean and standard deviation for each measurement.
3. Uses descriptive activity names to name the activities in the data set
4. Appropriately labels the data set with descriptive activity names.
5. Creates a second, independent tidy data set with the average of each variable for each activity and each subject.## How to use ```run_analysis.R```
1. Download data from
https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip
unzip it and put the ```UCI HAR Dataset``` folder at the same directory of ```run_analysis.R```.
2. Run ```run_analysis.R```.## Dependencies
```run_analysis.R``` requires ```reshape2```.