logitIDD: IDD transmissibility curve using logistic decay

View source: R/iddFun.R

logitIDDR Documentation

IDD transmissibility curve using logistic decay

Description

IDD transmissibility curve using logistic decay

Usage

logitIDD(x, params, getParams = F)

Arguments

x

A vector ranging from 1 to the maximum length of the infectious period.

params

A list giving parameter values for the decay rate rate and inflection point mid of the logistic decay function.

getParams

logical. Tells the function to return the parameter names.

Value

1 / (1 + exp(params$rate * (x - params$mid)))

Examples

logitIDD(1:15, params = list(mid = 8, rate = 1.5))

ceward18/BayesSEIR documentation built on June 15, 2022, 11:06 a.m.