exponential_estimate_R: Bayesian exponential model using stan

View source: R/exponential_estimate_R.R

exponential_estimate_RR Documentation

Bayesian exponential model using stan

Description

Bayesian exponential model using stan

Usage

exponential_estimate_R(
  fit_exponential,
  n_mean = 2.29,
  b_mean = 0.36,
  label = "label"
)

Arguments

fit_exponential

a model fit using reactidd::stan_exp_model() or reactidd::stan_exp_model_phe()

n_mean

shape parameter for inverse gamma serial interval (default from Bi et al)

b_mean

rate parameter for inverse gamma serial interval (default from Bi et al)

Value

An object of class dataframe with calculations of growth rate, R, doubling/halving time with 95% CIs and the probability R>1

95% CI for r and median


mrc-ide/reactidd documentation built on May 12, 2024, 11:47 a.m.