get_prop_infect_time: Calculate proportion of the infectious period reduced

View source: R/get_prop_infect_time.R

get_prop_infect_timeR Documentation

Calculate proportion of the infectious period reduced

Description

Calculates the proportion of the infections period (reduced given the distribution of infectiousness and time from symptom onset to isolation). Infectious period is assumed to be gamma distributed.

Usage

get_prop_infect_time(
  delay,
  offset = -2.31,
  shape = 1.65,
  rate = 0.5,
  isolation_days = Inf
)

Arguments

delay

Numeric greater than 0. Time from symptom onset to isolation

offset

Numeric. Offset of infectiousness compared to symptom onset. Default is -2.31.

shape

Numeric. Shape of the gamma distribution of infectious period. Default is 1.65.

rate

Numeric. Rate of the gamma distribution of infectious period. Default is 0.5.

isolation_days

Numeric greater than 0. Number of days from symptom onset to end of isolation. Default is Inf implying isolation until no longer infectious.

Value

Numeric. Proportion of infectious period (reduced given the distribution of infectiousness and time from symptom onset to isolation).


HopkinsIDD/tti documentation built on May 24, 2022, 1:11 a.m.