Description Usage Arguments Value
Plot the Gamma density for the communicable window
1 | plot_gamma(tbar, kappa, pmax = 0.999, n = 1000)
|
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. |
A ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.