Learn R Programming

R0 (version 1.2-6)

fit.epid: Compute the Poisson log - likelihood between epid and epidemic simulated with R and GT

Description

Compute the Poisson log - likelihood between epid and epidemic simulated with R and GT.

Usage

fit.epid(log.R, epid, GT, import, pred = FALSE, offset = 0)

Arguments

log.R
log Reproduction ratio
epid
epidemic
GT
Generation time distribution.
import
Vector of imported cases.
pred
Returns either the predictive curve or the log-likelihood value (default)
offset
to offset (confidence interval)

Value

Details

For internal use. Called by est.R0.ML.

For internal use. Called from est.ML.R0. Compute the Poisson likelihood of epidemic.