create_params_file: This function creates parameter input file

View source: R/create_params_file.R

create_params_fileR Documentation

This function creates parameter input file

Description

This function creates parameter input file

Usage

create_params_file(
  n_sim = 100,
  n_indiv = 30000,
  max_age = 80,
  vac_cutoff = 10,
  start_year = 1820,
  end_year = 2028,
  pandemic_beta = 0.4,
  epidemic_beta = 0.2,
  lhc_size = 1000,
  fixed_beta = TRUE,
  out_file = "parameter_values",
  seed = NULL
)

Arguments

n_sim

number of simulations

n_indiv

number of individuals

max_age

maximum age of individuals

vac_cutoff

age at which vaccination stops

start_year

start simulation year (YYYY format)

end_year

end simulation year (YYYY format)

pandemic_beta

value of pandemic force of infection

epidemic_beta

value of epidemic force of infection

lhc_size

number of latin hypercube parameter combinations

fixed_beta

logical. if TRUE, beta is fixed otherwise it is drawn from a distribution.

out_file

name of output file

seed

seed

Value

tibble with parameter values and writes csv file to the working directory with parameter values


kylieainslie/MoreVac documentation built on March 22, 2022, 8:49 a.m.