Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: James Azam <[email protected]>
  • Loading branch information
sbfnk and jamesmbaazam authored Feb 20, 2024
1 parent c25de34 commit e57f269
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/simulate_infections.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
#' model can be specified using the same options as in [estimate_infections()].
#'
#' In order to simulate, all parameters that are specified such as the mean and
#' standard deviatoin of delays or observation scaling, must be fixed.
#' standard deviation of delays or observation scaling, must be fixed.
#' Uncertain parameters are not allowed.
#'
#' A previous function called [simulate_infections()] that simulates from a
#' given model fit has been renamed [forecast_infections()].
#' @param R a data frame of reproduction numbers (column `R`) by date (column
#' `date`). R must be numeric and date must be in date format. If any dates
#' are missing, it will be assumed that R stays the same
#' `date`). Column `R` must be numeric and `date` must be in date format. If any dates

Check warning on line 14 in R/simulate_infections.R

View workflow job for this annotation

GitHub Actions / lint-changed-files

file=R/simulate_infections.R,line=14,col=81,[line_length_linter] Lines should not be more than 80 characters. This line is 88 characters.
#' are missing, it will be assumed that R stays the same.
#' @param initial_infections numeric; the initial number of infections.
#' @param day_of_week_effect either `NULL` (no day of the week effect) or a
#' numerical vector of length specified in [obs_opts()] as `week_length`
Expand Down

0 comments on commit e57f269

Please sign in to comment.