Description Usage Arguments Details Value Examples
View source: R/mcmc_posterior.R
Create dataframe for basic reproduction number (R0)
1 | 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 = β / γ. In our model γ = 0.1 and β is represented by each of the linear function parameters (ex: gpsp0, gpsp1, etc). β is the number of transmissions per infected individuals.
dataframe of median, and upper and lower bounds for the posterior, and MAP
1 | #TO DO
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.