get_ps: Find Discrete Serial Interval

Description Usage Arguments Value Examples

Description

Gets discrete probability distribution for serial interval using given shape and rate parameters.

Usage

1
get_ps(si_shape, si_rate, k = 100)

Arguments

si_shape

A float, shape parameter for gamma distribution.

si_rate

A float, rate parameter for gamma distribution.

k

An integer, maximum length of gamma distribution

Value

List with values for discrete gamma distribution with length k.

Examples

1
getPs(si_shape=1.47, si_rate=0.04529, k=100)

kyamkovoy/RepNumEst documentation built on May 27, 2019, 2:07 p.m.