plot_gamma: Plot the Gamma density for the communicable window

Description Usage Arguments Value

Description

Plot the Gamma density for the communicable window

Usage

1
plot_gamma(tbar, kappa, pmax = 0.999, n = 1000)

Arguments

tbar

Average duration of the communicable window.

kappa

Rate parameter of the Gamma distribution.

pmax

A scalar between 0 and 1. Upper limit for the time axis.

n

Number of points to plot.

Value

A ggplot object


pspc-data-science/branchsim documentation built on Jan. 19, 2021, 10:10 a.m.