Skip to content

Commit 9bf0212

Browse files
committed
improve documentation
1 parent 8e2e2d8 commit 9bf0212

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

R/simulate_infections.R

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
#' option will be removed in version 2.1.0.
1515
#' @param R a data frame of reproduction numbers (column `R`) by date (column
1616
#' `date`). Column `R` must be numeric and `date` must be in date format. If
17-
#' any dates are missing, it will be assumed that R stays the same.
17+
#' not all days between the first and last day in the `date` are present,
18+
#' it will be assumed that R stays the same until the next given date.
1819
#' @param initial_infections numeric; the initial number of infections.
1920
#' @param day_of_week_effect either `NULL` (no day of the week effect) or a
2021
#' numerical vector of length specified in [obs_opts()] as `week_length`

man/simulate_infections.Rd

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)