Skip to content

Commit

Permalink
remove references to forecast_infections
Browse files Browse the repository at this point in the history
as it no longer exists
  • Loading branch information
sbfnk committed Oct 3, 2023
1 parent 14718c0 commit 11e5d23
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 25 deletions.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ This release contains some bug fixes, minor new features, and the initial stages
## Documentation

- Added a link to the recent CSTE workshop on using `EpiNow2` to the case studies vignette. By @seabbs in #441 and reviewed by @sbfnk.
* Removed references to the no longer existing `forecast_infections` function.

# EpiNow2 1.3.5

Expand Down
21 changes: 10 additions & 11 deletions R/epinow.R
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
#' Real-time Rt Estimation, Forecasting and Reporting
#'
#' @description `r lifecycle::badge("maturing")`
#' This function wraps the functionality of `estimate_infections()` and
#' `forecast_infections()` in order to estimate Rt and cases by date of
#' infection, forecast into these infections into the future. It also contains
#' additional functionality to convert forecasts to date of report and produce
#' summary output useful for reporting results and interpreting them. See
#' [here](https://gist.github.com/seabbs/163d0f195892cde685c70473e1f5e867) for
#' an example of using `epinow` to estimate Rt for Covid-19 in a country from
#' the ECDC data source.
#' This function wraps the functionality of `estimate_infections()` in order
#' to estimate Rt and cases by date of infection and forecast these infections
#' into the future. In addition to the functionality of
#' `estimate_infections()` it produces additional summary output useful for
#' reporting results and interpreting them as well as error catching and
#' reporting, making it particularly useful for production use e.g. running at
#' set intervals on a deidcated server.
#'
#' @param output A character vector of optional output to return. Supported
#' options are samples ("samples"), plots ("plots"), the run time ("timing"),
Expand All @@ -21,11 +20,11 @@
#'
#' @param plot_args A list of optional arguments passed to `plot.epinow()`.
#'
#' @return A list of output from estimate_infections, forecast_infections,
#' report_cases, and report_summary.
#' @return A list of output from estimate_infections with additional elements
#' summarising results and reporting errors if they have occurred.
#' @author Sam Abbott
#' @export
#' @seealso estimate_infections simulate_infections forecast_infections
#' @seealso estimate_infections simulate_infections
#' @seealso regional_epinow
#' @inheritParams setup_target_folder
#' @inheritParams estimate_infections
Expand Down
2 changes: 1 addition & 1 deletion R/regional_epinow.R
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
#' @return A list of output stratified at the top level into regional output
#' and across region output summary output
#' @export
#' @seealso epinow estimate_infections forecast_infections
#' @seealso epinow estimate_infections
#' @seealso setup_future regional_summary
#' @importFrom future.apply future_lapply
#' @importFrom data.table as.data.table setDT copy setorder
Expand Down
22 changes: 10 additions & 12 deletions man/epinow.Rd

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

2 changes: 1 addition & 1 deletion man/regional_epinow.Rd

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

0 comments on commit 11e5d23

Please sign in to comment.