plot2expo: plot2expo

Description Usage Arguments Value Examples

View source: R/epididact.R

Description

Comparison of two epidemics (exponential models) in the same plot

Usage

1
plot2expo(y0_1, y0_2, r_1, r_2, maxt)

Arguments

y0_1

Epidemic 1: initial inoculum

y0_2

Epidemic 2: initial inoculum

r_1

Epidemic 1: rate of progress

r_2

Epidemic 2: rate of progress

maxt

epidemic duration (days)

Value

two exponential lines

Examples

1
plot2expo(0.01, 0.01, 0.05, 0.025, 100)

JUANCCI/Epididact documentation built on May 7, 2019, 10:13 a.m.