Creates vector control exponential decay

vector_control_exponential_decay(
  initial_omega,
  half_life,
  every_x_years = 3,
  maxtime
)

Arguments

initial_omega

the reduction in vectorial capacity at time=0

half_life

half life of the exponential decay (in years)

every_x_years

frequency at which the intervention is renewed (default is every 3 years)

maxtime

maximum time point to be included in the database (from 0 to maxtime days)

Value

An interpolation function, like the one created by approxfun (stats package)