spatial_priors: Default priors for parameters of a spatially explicit...

View source: R/fit.R

spatial_priorsR Documentation

Default priors for parameters of a spatially explicit branching process model

Description

The parameters are the effective reproduction number and the exponent on the distance in a gravity model, when both are being jointly estimated. Effective reproduction number is assumed to be Gamma distributed and therefore, its mean and standard deviation need to be specified. These are automataically translated into the shape and scale paramaters. When estimating only the effective reproduction number, the 'gamma' component of the list is silently ignored.

Usage

spatial_priors()

Value

a list of default parameters for the priors. Values can then be manually be edited as in the examples below.

Author(s)

Sangeeta Bhatia

Examples

priors <- spatial_priors()
priors$gamma <- 2

mrc-ide/spatialbranchr documentation built on Oct. 2, 2022, 5:56 p.m.