dgammaIDD: IDD transmissibility curve using the gamma PDF

View source: R/iddFun.R

dgammaIDDR Documentation

IDD transmissibility curve using the gamma PDF

Description

IDD transmissibility curve using the gamma PDF

Usage

dgammaIDD(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 shape and rate of the gamma PDF.

getParams

logical. Tells the function to return the parameter names.

Value

Gamma PDF dgamma(x, shape = params$shape, rate = params$rate)

Examples

dgammaIDD(1:15, params = list(shape = 4, rate = 1))

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