calculateLogLikCluster_incubation: calculate the contribution of a cluster to the log...

View source: R/households.R

calculateLogLikCluster_incubationR Documentation

calculate the contribution of a cluster to the log likelihood, for the model of incubation only

Description

calculate the contribution of a cluster to the log likelihood, for the model of incubation only

Usage

calculateLogLikCluster_incubation(p, data)

Arguments

p

named vector of parameter values. Contains element "m.incub", the mean incubation period

data

data frame with a single row, containing the column "time.onset.donor" which is the time of symptom onset for the donor, i.e. the incubation period for the donor.

Value

the contribution of the cluster to the log likelihood


c97sr/learnidd documentation built on Jan. 12, 2025, 4:24 p.m.