View source: R/create_params_file.R
create_params_file | R Documentation |
This function creates parameter input file
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 )
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 |
tibble with parameter values and writes csv file to the working directory with parameter values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.