Skip to contents

Writes the deployment of an intervention. Compatibility version.

Usage

deploy_it_compat(
  baseList,
  component = "ITN",
  cumulative = FALSE,
  effects = NULL,
  y1 = 2000,
  y2 = NULL,
  m1 = 1,
  m2 = NULL,
  d1 = 1,
  d2 = NULL,
  every = 1,
  interval = "month",
  SIMSTART = "1918-01-01",
  minAge = NULL,
  maxAge = NULL,
  coverage = NULL,
  byyear = FALSE,
  deployvar = NULL,
  subpop = FALSE
)

Arguments

baseList

List with experiment data.

component

Name of intervention.

cumulative

default is FALSE. Do not set to TRUE.

effects

Either NULL or c("det","pre","post")

y1

Year of the first date (surveys starting from year y1)

y2

Year of the end date (surveys continuing until year y2)

m1

Month of the first date

m2

Month of the end date

d1

Day of the first date

d2

Day of the end date

every

Interval size

interval

Interval size (days, weeks, )

SIMSTART

Starting date of the simulations in the format "yyyy-mm-dd"

minAge

Minimum age for deployment (used in SMC)

maxAge

Maximum age for deployment (used in SMC)

coverage

Value or variable of coverage

byyear

If TRUE, allows coverage to vary by year ('histITNcov2000',...)

deployvar

Allows for deployment dates to vary (across years y1, ..., y2)

subpop

If TRUE, then restricts to a subpopulation (see restrictToSubPop in OpenMalaria)