Skip to content

Simulate infections #557

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 24 commits into from
Feb 20, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
expand simulate_infections documentation
  • Loading branch information
sbfnk committed Feb 20, 2024
commit 7ae6e1a0f05ca9ce950b629f1aee6ce833d16d21
7 changes: 7 additions & 0 deletions R/simulate_infections.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
##' Simulations are done from given initial infections and, potentially
##' time-varying, reproduction numbers. Delays and parameters of the observation
##' 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.
##' 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
Expand Down
8 changes: 8 additions & 0 deletions man/simulate_infections.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.