View source: R/mcmc_posterior.R
df_r0 | R Documentation |
Create dataframe for basic reproduction number (R0)
df_r0(run, burnin, par_names, times, T0, T1, GAMMA)
run |
object of class "mcmcSamplerList" and "bayesianOutput" |
burnin |
intenger representing number of samples to remove as burnin |
par_names |
vector containinig the parameter names |
times |
vector of time points |
T0 |
initial time for simulations |
T1 |
end time for simulations |
GAMMA |
double representing the stage of infection |
Basic Reproduction Number (R0) is calculated based on the equation
R0 = \beta / \gamma
. In our model \gamma = 0.1
and \beta
is represented by each of the linear function parameters
(ex: gpsp0, gpsp1, etc). \beta
is the number of transmissions per
infected individuals.
dataframe of median, and upper and lower bounds for the posterior, and MAP
#TO DO
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.