pbla_f: f-based PBLA

Description Usage Arguments Value

View source: R/pbla_f.R

Description

Via 3.3.1., compute pair-based likelihood approximation. Supports exponential infectious periods.

Usage

1
pbla_f(r, beta, gamma, A = 1, lag = 0)

Arguments

r

numeric vector of removal times

beta

matrix of rates

gamma

numeric vector of rates

A

integer patient zeros

lag

numeric fixed lag

Value

negative log likelihood


sdtemple/pblas documentation built on Jan. 8, 2022, 8:36 a.m.