Skip to content

Commit 999e74a

Browse files
committed
fix lintr checks
1 parent 7e337bb commit 999e74a

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

episodes/superspreading-simulate.Rmd

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@ serial_interval <- epiparameter_db(
6666
disease = "mers",
6767
epi_name = "serial",
6868
single_epiparameter = TRUE
69-
) #%>%
70-
#epiparameter::discretise()
69+
)
7170
7271
# Set seed for random number generator
7372
set.seed(33)
@@ -711,12 +710,10 @@ We can count how many chains reached the 100-case threshold using `{dplyr}` func
711710
summary_chains %>%
712711
dplyr::arrange(desc(cases_total)) %>%
713712
dplyr::filter(cases_total > 100)
714-
715-
# similar to printing the summary of <epichains>
716-
# the printed vector have the size of each chain
717-
#summary(multiple_epichains)
718713
```
719714

715+
This output should give us equivalent results to `summary(multiple_epichains)`.
716+
720717
::::::::::::::::::::::::::::::::::: spoiler
721718

722719
### Observed cases vs simulated chains
@@ -872,10 +869,6 @@ simulated_chains_mpox <- epichains::simulate_chains(
872869
generation_time = function(x) generate(x = mpox_serialint, times = x)
873870
)
874871
875-
# Print the summary of <epichains>
876-
# the printed vector have the size of each chain
877-
#summary(simulated_chains_mpox)
878-
879872
# visualize ---------------------------------------------------------------
880873
881874
# daily aggregate of cases

0 commit comments

Comments
 (0)