plot3logis: plot3logis

Description Usage Arguments Value Examples

View source: R/epididact.R

Description

Comparison of three epidemics (logisic model) at the same plot

Usage

1
plot3logis(y0_1, y0_2, y0_3, r_1, r_2, r_3, maxt)

Arguments

y0_1

Epidemic 1: initial inoculum

y0_2

Epidemic 2: initial inoculum

y0_3

Epidemic 3: initial inoculum

r_1

Epidemic 1: rate of progress

r_2

Epidemic 2: rate of progress

maxt

epidemic duration (days)

r_1

Epidemic 3: rate of progress

Value

Three logistic curves

Examples

1
2
3
plot3logis(0.01, 0.01, 0.01,  # Initial inoculum: Epid 1, Epid 2, Epid 3
           0.05, 0.025, 0.01, # Rate of progress: Epid 1, Epid 2, Epid 3
           100)               # Epidemic duration

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