Skip to content

Commit

Permalink
Fix use of modifyList list
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmbaazam committed Nov 3, 2023
1 parent 2d3fa46 commit 29774f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vignettes/epinow.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ If instead, we wanted to use the Gaussian Process for `testland` and a weekly ra

```r
gp <- opts_list(gp_opts(), cases)
gp <- modifyList(gp, list(realland = NULL))
gp <- modifyList(gp, list(realland = NULL), keep.null = TRUE)
rt <- opts_list(rt_opts(), cases, realland = rt_opts(rw = 7))
region_separate_rt <- regional_epinow(
reported_cases = cases,
Expand Down
2 changes: 1 addition & 1 deletion vignettes/epinow.Rmd.orig
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ If instead, we wanted to use the Gaussian Process for `testland` and a weekly ra

```{r regional_epinow_multiple, fig.width = 8}
gp <- opts_list(gp_opts(), cases)
gp <- modifyList(gp, list(realland = NULL))
gp <- modifyList(gp, list(realland = NULL), keep.null = TRUE)
rt <- opts_list(rt_opts(), cases, realland = rt_opts(rw = 7))
region_separate_rt <- regional_epinow(
reported_cases = cases,
Expand Down

0 comments on commit 29774f1

Please sign in to comment.