Skip to content

Commit

Permalink
Add a reference
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmbaazam committed Oct 2, 2023
1 parent b0a0c63 commit 8f600f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion R/intervention.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
#'
#' @author James M. Azam
#' @keywords internal
intvn_scale_r0 <- function(r0_reduction, offspring_dist, pars_list) {
#' @references Lloyd-Smith, J., Schreiber, S., Kopp, P. et al. Superspreading
#' and the effect of individual variation on disease emergence. Nature 438,
#' 355–359 (2005). \doi{10.1038/nature04153}
intvn_reduce_mean <- function(intvn_mean_reduction, offspring_dist, pars_list) {
# Intervention only works for pois and nbinom
if (!offspring_dist %in% c("pois", "nbinom")) {
Expand Down

0 comments on commit 8f600f0

Please sign in to comment.