-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcodebook.rmd
32 lines (25 loc) · 997 Bytes
/
codebook.rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
title: "Codebook"
output:
html_document:
df_print: paged
---
## Overview
This document decribes the variable information in `tidydata.txt`. User can knit this rmarkdown file in Rstudio, which will automatically produce the the data file into the working directory as well as producing the `codebook.html`.
The r codes are self-contained and platform independent.
The codebook is generated by `codebook` command in the `memisc` package.
To view: <http://htmlpreview.github.io/?https://github.com/zhouyisu/get-and-cleaning-data_course-project/blob/master/codebook.html>
## Variable naming
Following changes are made to the original variable names:
- prefix t is replaced by time
- Acc is replaced by Accelerometer
- Gyro is replaced by Gyroscope
- prefix f is replaced by frequency
- Mag is replaced by Magnitude
- BodyBody is replaced by Body
## Variable attributes
```{r message=FALSE}
source("run_analysis.R")
library(memisc)
codebook(mush3)
```