default_priors: Set default for Gamma priors

View source: R/gibbs_draws.R

default_priorsR Documentation

Set default for Gamma priors

Description

Set default for Gamma priors

Usage

default_priors()

Value

a list of default parameters for the priors. Values can then be manually be edited as in the examples below. Users could use functions 'epitrix::gamma_shapescale2mucv' and 'epitrix::gamma_mucv2shapescale' to set the shape and scale corresponding to the desired prior mean and coefficient of variation.

Examples

priors <- default_priors()
# change the prior for R to have a mean of 3
priors$R$shape <- 3


annecori/EpiEstim documentation built on Oct. 14, 2023, 1:54 a.m.