Skip to contents

Writes the deployment of an intervention.

Usage

deployIT(
  baseList,
  component = "ITN",
  cumulative = FALSE,
  effects = NULL,
  startDate = NULL,
  endDate = NULL,
  interval = NULL,
  dates = NULL,
  minAge = NULL,
  maxAge = NULL,
  coverage = NULL,
  subpop = NULL
)

deploy_IT(
  baseList,
  component = "ITN",
  cumulative = FALSE,
  effects = NULL,
  startDate = NULL,
  endDate = NULL,
  interval = NULL,
  dates = NULL,
  minAge = NULL,
  maxAge = NULL,
  coverage = NULL,
  subpop = NULL
)

Arguments

baseList

List with experiment data.

component

Name of intervention.

cumulative

Default is FALSE. Do not set to TRUE.

effects

Either NULL or vector of strings, e.g. c("det","pre","post")

startDate

Date in YYYY-MM-DD format.

endDate

Date in YYYY-MM-DD format.

interval

A string like '1 weeks'. Same as in seq.Date(). Or a list composed of the entries 'days' (optional), 'months' (optional) and 'years'. If a list is used, startDate and endDate are not used and can be NULL.

dates

If NULL, startDate, endDate and interval are used, else a vector of dates in YYYY-MM-DD format. Can be a placeholder.

minAge

Minimum age for deployment (used in SMC). Can be a placeholder.

maxAge

Maximum age for deployment (used in SMC). Can be a placeholder.

coverage

Value or variable of coverage. Can be a placeholder.

subpop

Either NULL or string. Concatenation component+"-"+subpop will be id in subpopulation intervention should be restricted to (see restrictToSubPop in OpenMalaria)