Parameters$new()
)Creates a new OpenABM Parameters object (wrapper for
Parameters$new()
)
Parameters.new(
input_param_file = NA_character_,
param_line_number = 1,
output_file_dir = "./",
input_households = NA_character_,
hospital_input_param_file = NA_character_,
hospital_param_line_number = NA_integer_,
read_param_file = TRUE,
read_hospital_param_file = FALSE
)
Input parameters CSV file path.
Optional, default:
system.file("default_params", "baseline_parameters.csv", package = "OpenABMCovid19")
Which column of the input param file to read.
Where to write output files to.
Household demographics file.
Optional, default:
system.file("default_params", "baseline_household_demographics.csv", package = "OpenABMCovid19")
Hospital input parameters CSV file path.
Optional, default:
system.file("default_params", "hospital_baseline_parameters.csv", package = "OpenABMCovid19")
Which column of the hospital input param file to read.
A boolean. If TRUE
, read
input_param_file
. If FALSE
, ignore
input_param_file
.
A boolean. If TRUE
, read
hospital_input_param_file
. If FALSE
, ignore
hospital_input_param_file
.
Parameters object (R6 Class)