File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 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 %>%
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 %>%
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
You can’t perform that action at this time.
0 commit comments