Skip to content

Commit

Permalink
Inherit the offspring argument from simulate_tree()
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmbaazam committed Sep 4, 2023
1 parent ba6b82f commit ce1a990
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions R/simulate.r
Original file line number Diff line number Diff line change
Expand Up @@ -290,10 +290,7 @@ simulate_summary <- function(nchains, statistic = c("size", "length"),
#' with initial immunity
#'
#' @param pop The susceptible population.
#' @param offspring_dist Offspring distribution sampler: a character string
#' corresponding to the R distribution function. Currently only "pois" &
#' "nbinom" are supported. Internally truncated distributions are used to
#' avoid infecting more people than susceptibles available.
#' @inheritParams simulate_tree
#' @param offspring_mean The average number of secondary cases for each case.
#' Same as R0.
#' @param offspring_disp The dispersion parameter of the number of
Expand Down

0 comments on commit ce1a990

Please sign in to comment.