Skip to content

Commit 76e516d

Browse files
committed
doc: update from Rachel's comments
1 parent 56099d0 commit 76e516d

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

R/methods-epi_df.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ group_modify.epi_df <- function(.data, .f, ..., .keep = FALSE) {
258258

259259
#' Complete epi_df
260260
#'
261-
#' A `tidyr::complete()` analogue for `epi_df`` objects. This function
261+
#' A `tidyr::complete()` analogue for `epi_df` objects. This function
262262
#' can be used, for example, to add rows for missing combinations
263263
#' of `geo_value` and `time_value`, filling other columns with `NA`s.
264264
#' See the examples for usage details.

man/complete.epi_df.Rd

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vignettes/epiprocess.Rmd

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ edf %>%
8686
```
8787

8888
We can compute the 7 day moving average of the confirmed daily cases for each
89-
geo_value by using the `epi_slide_mean()` function. For a more in-depth guide to
89+
`geo_value` by using the `epi_slide_mean()` function. For a more in-depth guide to
9090
sliding, see `vignette("epi_df")`.
9191

9292
```{r}
@@ -96,15 +96,15 @@ edf %>%
9696
```
9797

9898
We can compute the growth rate of the confirmed cumulative cases for each
99-
geo_value. For a more in-depth guide to growth rates, see `vignette("growth_rate")`.
99+
`geo_value`. For a more in-depth guide to growth rates, see `vignette("growth_rate")`.
100100

101101
```{r}
102102
edf %>%
103103
group_by(geo_value) %>%
104104
mutate(cases_growth = growth_rate(x = time_value, y = cases_cumulative, method = "rel_change", h = 7))
105105
```
106106

107-
Detect outliers in daily reported cases for each geo_value. For a more in-depth
107+
Detect outliers in daily reported cases for each `geo_value`. For a more in-depth
108108
guide to outlier detection, see `vignette("outliers")`.
109109

110110
```{r message=FALSE}
@@ -114,8 +114,8 @@ edf %>%
114114
ungroup()
115115
```
116116

117-
Add a column to the epi_df object with the daily deaths for each geo_value and
118-
compute the correlations between cases and deaths for each geo_value. For a more
117+
Add a column to the epi_df object with the daily deaths for each `geo_value` and
118+
compute the correlations between cases and deaths for each `geo_value`. For a more
119119
in-depth guide to correlations, see `vignette("correlation")`.
120120

121121
```{r}

0 commit comments

Comments
 (0)