plot2logis3M: plot2logis3M

Description Usage Arguments Value Examples

View source: R/epididact.R

Description

Comparison of three epidemics (logisic model) at the same plot. from Madden, 2007: a/(1+((a/y0)-1)*exp(-r*x)),

Usage

1
plot2logis3M(a_1, a_2, 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 logistic curves

Examples

1
2
3
4
plot2logis3M(1, 0.7,       # Assintote: Epid 1, Epid 2
             0.001, 0.001, # Initial inoculum: Epid 1, Epid 2
             0.4, 0.4,     # Rate of progress: Epid 1, Epid 2
             50)           # Epidemic duration

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