plot2mono3M: plot2mono3M

Description Usage Arguments Value Examples

View source: R/epididact.R

Description

Comparison of three epidemics (monomolecular model) at the same plot. (from Madden, 2007) Adaptado de Madden, 2007 -> y = 1 - (1-y0)*exp(-r * x)

Usage

1
plot2mono3M(a_1, a_2, y0_1, y0_2, r_1, r_2, maxt)

Arguments

a_1

Epidemic 1: assintote

a_2

Epidemic 2: assintote

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

Three gompertz curves

Examples

1
2
3
4
5
plot2mono3M(
0.8, 0.8,  # a:  Assintote
0.4, 0.1,  # y0: Initial inoculum (Intercept)
0.25, 0.25,# r:  progress rate
20)        # maxt: epidemic duration

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