Skip to content

Commit 9d1143b

Browse files
committed
style: styler (GHA)
1 parent 1d5d525 commit 9d1143b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

R/slide.R

+3-3
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
#' # Generate some simple time-varying CFR estimates:
133133
#' with_cfr_estimates <- cases_deaths_subset %>%
134134
#' epi_slide(
135-
#' cfr_estimate_v0 = death_rate_7d_av[[22]]/case_rate_7d_av[[1]],
135+
#' cfr_estimate_v0 = death_rate_7d_av[[22]] / case_rate_7d_av[[1]],
136136
#' .window_size = 22
137137
#' )
138138
#' with_cfr_estimates %>%
@@ -148,7 +148,7 @@
148148
#' my_computation <- function(window_data) {
149149
#' tibble(
150150
#' cfr_estimate_v0 = window_data$death_rate_7d_av[[nrow(window_data)]] /
151-
#' window_data$case_rate_7d_av[[1]]
151+
#' window_data$case_rate_7d_av[[1]]
152152
#' )
153153
#' }
154154
#' with_cfr_estimates2 <- cases_deaths_subset %>%
@@ -161,7 +161,7 @@
161161
#' function(window_data, g, t) {
162162
#' tibble(
163163
#' cfr_estimate_v0 = window_data$death_rate_7d_av[[nrow(window_data)]] /
164-
#' window_data$case_rate_7d_av[[1]]
164+
#' window_data$case_rate_7d_av[[1]]
165165
#' )
166166
#' },
167167
#' .window_size = 22

0 commit comments

Comments
 (0)