growth_to_R function

Convert Growth Rates to Reproduction numbers.

Convert Growth Rates to Reproduction numbers.

See here # nolint for justification. Now handled internally by stan so may be removed in future updates if no user demand.

growth_to_R(r, gamma_mean, gamma_sd)

Arguments

  • r: Numeric, rate of growth estimates.
  • gamma_mean: Numeric, mean of the gamma distribution
  • gamma_sd: Numeric, standard deviation of the gamma distribution .

Returns

Numeric vector of reproduction number estimates

Examples

growth_to_R(0.2, 4, 1)