Learn R Programming

seedy (version 1.3)

hump: Sinusoidal population growth model

Description

Provides the expected pathogen population at any point during infection

Usage

hump(x, span, max.size)

Arguments

x
Time after infection.
span
Total duration of infection.
max.size
Expected maximum population size, attained at midpoint of infection.

Value

  • Returns expected population size at x.

Examples

Run this code
hump(1:200, span=200, max.size=1000)

Run the code above in your browser using DataLab