Function which sets up a folder containing new data in the correct formats which can be used for input into mainpop().

create_data_folder(
  dataset_folder = "",
  EIR_values = c(1),
  param_file = "",
  age_file = "",
  het_file = "",
  nyears = 10,
  flag_dt_adjust = 1
)

Arguments

dataset_folder

Folder where new dataset to be located. Will be created if not already in existence

EIR_values

Vector of target values of annual entomological inoculation rate under constant rainfall conditions

param_file

File containing model parameters to use for new dataset

age_file

File containing age distribution parameters to use for new dataset

het_file

File containing biting heterogeneity parameters to use for new dataset

nyears

Number of years to run model for to achieve equilibrium

flag_dt_adjust

Integer indicating whether or not to adjust dt by mosquito density in mainpop() (0 = No, 1 = Yes)

Details

Takes in a folder name, designated parameter files and a vector of target values of annual entomological inoculation rate (EIR) under constant rainfall conditions, creates a folder containing parameter, starting data and annual EIR data files.