gi_ct_fit: Fit R0 and mean generation interval from contact tracing data

Description Usage Arguments

Description

Fit R0 and mean generation interval from contact tracing data

Usage

1
2
gi_ct_fit(t.obs, gi.obs, model.epi, fxd.prm, R0.rng, gimean.rng, CI = 0.95,
  do.plot = FALSE)

Arguments

t.obs

Numeric vector. Time when the backward generation intervals were observed

gi.obs

Numeric vector. Backward generation intervals observed.

model.epi

String. Epidemic model used. Choice between seminr or resude.

fxd.prm

List. Parameters of model.epi that are fixed.

R0.rng

Numeric vector. Values of R0 explored to calculate the likelihood surface.

gimean.rng

Numeric vector. Values of mean intrinsic GI explored to calculate the likelihood surface.

CI

Numeric. Confidence interval level. Default = 0.95.

do.plot

Boolean. Fitting diagnostic plots. Default = TRUE.


davidchampredon/gitest documentation built on May 14, 2019, 5:13 p.m.