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 Sept. 7, 2024, 7:34 p.m.