We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10c7782 commit 26e426aCopy full SHA for 26e426a
PA1_template.Rmd
@@ -43,7 +43,7 @@ This concludes the loading and preprocessing of the data. [Element #1 required f
43
44
Since we'll be using `group_by()` and related commands to figure this out we need to install and load the `dplyr` package:
45
46
-```{r install_dplyr}
+```{r install_dplyr, message=FALSE, warning=FALSE}
47
options(repos="https://cran.rstudio.com" )
48
if (!require(dplyr)) install.packages("dplyr")
49
library(dplyr)
@@ -63,10 +63,9 @@ mean_total_steps <- activity %>%
63
summarise(mean_total_steps = mean(daily_steps, na.rm = TRUE))
64
65
steps <- round(mean_total_steps, 0)
66
-steps
67
```
68
69
-Result: `r steps` steps.
+Result: `r as.integer(steps)` steps.
70
71
72
## What is the average daily activity pattern?
0 commit comments