calculateLogLik_incubation: calculate log likelihood for the model of incubation only,...

View source: R/households.R

calculateLogLik_incubationR Documentation

calculate log likelihood for the model of incubation only, summed across clusters

Description

calculate log likelihood for the model of incubation only, summed across clusters

Usage

calculateLogLik_incubation(p, data)

Arguments

p

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

data

data frame where each row represents a donor-recipient pair. It contains 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 log likelihood


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