Skip to content

Commit

Permalink
update proportion_transmission simulate arg doc, closes #94
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwlambert committed May 1, 2024
1 parent 4549ff9 commit 39f5d36
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ URL: https://github.com/epiverse-trace/superspreading, https://epiverse-trace.gi
BugReports: https://github.com/epiverse-trace/superspreading/issues
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.3
RoxygenNote: 7.3.1
Imports:
checkmate,
stats,
Expand Down
3 changes: 2 additions & 1 deletion R/proportion_transmission.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
#' @param percent_transmission A `number` of the percentage transmission
#' for which a proportion of cases has produced.
#' @param simulate A `logical` whether the calculation should be done
#' numerically (i.e. simulate secondary contacts) or analytically.
#' numerically (i.e. simulate secondary contacts) or analytically. Default is
#' `FALSE` which uses the analytical calculation.
#'
#' @return A `<data.frame>` with the value for the proportion of cases for a
#' given value of R and k.
Expand Down
3 changes: 2 additions & 1 deletion man/proportion_transmission.Rd

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

0 comments on commit 39f5d36

Please sign in to comment.