adhere: A function to calculate adherence times

Description Usage Arguments Value Author(s) Examples

View source: R/aux_functions.R

Description

A function to calculate adherence times

Usage

1
adhere(N, adherence = 1, delay = 1)

Arguments

N

number of samples/cases

adherence

adherence probability to isolation

delay

time from symptom to isolation if adhering

Value

numeric vector of adherence times (=delay if adhering, =1e10 if not adhering)

Author(s)

Emma Davis

Examples

1
adhere(1, 0.5, 3)

emmalouisedavis/TTI-branching-process documentation built on Dec. 20, 2021, 5:17 a.m.