File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 132
132
# ' # Generate some simple time-varying CFR estimates:
133
133
# ' with_cfr_estimates <- cases_deaths_subset %>%
134
134
# ' 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]],
136
136
# ' .window_size = 22
137
137
# ' )
138
138
# ' with_cfr_estimates %>%
148
148
# ' my_computation <- function(window_data) {
149
149
# ' tibble(
150
150
# ' 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]]
152
152
# ' )
153
153
# ' }
154
154
# ' with_cfr_estimates2 <- cases_deaths_subset %>%
161
161
# ' function(window_data, g, t) {
162
162
# ' tibble(
163
163
# ' 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]]
165
165
# ' )
166
166
# ' },
167
167
# ' .window_size = 22
You can’t perform that action at this time.
0 commit comments