Skip to content

Commit 3ec0de9

Browse files
committed
Submission rdpeng#3
1 parent 56e1c7e commit 3ec0de9

File tree

4 files changed

+1
-17593
lines changed

4 files changed

+1
-17593
lines changed

PA1_template.Rmd

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,9 @@ hist(totalDailySteps2,main="Histogram of Total Number of Steps Taken per Day",
102102
103103
#Calculate the mean of the total number of steps taken per day using the new dataset
104104
meanStep2<-mean(totalDailySteps2)
105-
meanStep2
106105
107106
#Calculate the median of the total number of steps taken per day using the new dataset
108107
medianStep2<-median(totalDailySteps2)
109-
medianStep2
110108
```
111109
Mean number of steps taken per day using the new dataset = `r meanStep2`
112110
Median number of steps taken per day using the new dataset = `r medianStep2`

PA1_template.html

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -306,18 +306,9 @@ <h2>Imputing missing values</h2>
306306

307307
<pre><code class="r">#Calculate the mean of the total number of steps taken per day using the new dataset
308308
meanStep2&lt;-mean(totalDailySteps2)
309-
meanStep2
310-
</code></pre>
311-
312-
<pre><code>## [1] 10766.19
313-
</code></pre>
314309

315-
<pre><code class="r">#Calculate the median of the total number of steps taken per day using the new dataset
310+
#Calculate the median of the total number of steps taken per day using the new dataset
316311
medianStep2&lt;-median(totalDailySteps2)
317-
medianStep2
318-
</code></pre>
319-
320-
<pre><code>## [1] 10766.19
321312
</code></pre>
322313

323314
<p>Mean number of steps taken per day using the new dataset = 1.0766189 &times; 10<sup>4</sup><br/>

PA1_template.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -124,21 +124,9 @@ hist(totalDailySteps2,main="Histogram of Total Number of Steps Taken per Day",
124124
```r
125125
#Calculate the mean of the total number of steps taken per day using the new dataset
126126
meanStep2<-mean(totalDailySteps2)
127-
meanStep2
128-
```
129-
130-
```
131-
## [1] 10766.19
132-
```
133127

134-
```r
135128
#Calculate the median of the total number of steps taken per day using the new dataset
136129
medianStep2<-median(totalDailySteps2)
137-
medianStep2
138-
```
139-
140-
```
141-
## [1] 10766.19
142130
```
143131
Mean number of steps taken per day using the new dataset = 1.0766189 &times; 10<sup>4</sup>
144132
Median number of steps taken per day using the new dataset = 1.0766189 &times; 10<sup>4</sup>

0 commit comments

Comments
 (0)