plot_exp: Plot the time between infectious events

Description Usage Arguments Value

Description

Plot the time between infectious events

Usage

1
plot_exp(lambda, pmax = 0.995, n = 1000)

Arguments

lambda

Poisson rate

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.