Skip to content

Commit

Permalink
Updating intervention documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
derekmeyer37 committed May 13, 2024
1 parent 44ac988 commit e4526c3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions R/functions-npi.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
#' contact_rate = 4, transmission_rate = 0.1,
#' incubation_days = 7, recovery_rate = 0.14)
#' run(model, ndays = 100, seed = 123)
#' npi_add_vaccine(model, preval = .8, susceptibility_reduction = .9,
#' transmission_reduction = .5, recovery_enhancer = .5,
#' death_reduction = .9)
#' npi_add_vaccine(model, preval = .8, sus_red = .9,
#' trans_red = .5, rec_enhan = .5,
#' death_red = .9)
#' @export
#' @family npis
npi_add_vaccine <- function(
Expand Down Expand Up @@ -60,7 +60,7 @@ npi_add_vaccine <- function(
#' contact_rate = 4, transmission_rate = 0.1,
#' incubation_days = 7, recovery_rate = 0.14)
#' run(model, ndays = 100, seed = 123)
#' npi_add_masking(model, preval = .8)
#' npi_add_masking(model, preval = .8, trans_red = 0.3)
#' @export
#' @family npis
npi_add_masking <- function(model, preval, trans_red) {
Expand Down Expand Up @@ -98,7 +98,7 @@ npi_add_masking <- function(model, preval, trans_red) {
#' contact_rate = 4, transmission_rate = 0.1,
#' incubation_days = 7, recovery_rate = 0.14)
#' run(model, ndays = 100, seed = 123)
#' npi_add_school_closure(model, preval = .8, day = 10)
#' npi_add_school_closure(model, preval = .8, trans_red = .3, day = 10)
#' @export
#' @family npis
npi_add_school_closure <- function(model, preval, day,
Expand Down
2 changes: 1 addition & 1 deletion man/npi_add_masking.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/npi_add_school_closure.Rd

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

6 changes: 3 additions & 3 deletions man/npi_add_vaccine.Rd

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

0 comments on commit e4526c3

Please sign in to comment.