fit: Fit a model of the BassSIR family to epidemic data

Description Usage Arguments

View source: R/fitting.R

Description

Fit a model of the BassSIR family to epidemic data

Usage

1
2
fit(d, r_rec, r_death, type = c("BassSIR", "SIR", "Growth"), hyper,
  n_iter = 10000, n_collect = 1000, ...)

Arguments

d

a BassSIR data

r_rec

recovery rate

r_death

death rate

type

type of model

n_iter

number of interation

n_collect

number of interation to collect

...

arguments for jags(...)


COVID-19-Modelling/BassSIR documentation built on April 20, 2020, 1:57 a.m.