Parameters.new: Creates a new OpenABM Parameters object (wrapper for...

Description Usage Arguments Value See Also

View source: R/Parameters.R

Description

Creates a new OpenABM Parameters object (wrapper for Parameters$new())

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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
)

Arguments

input_param_file

Input parameters CSV file path. Optional, default: system.file("default_params", "baseline_parameters.csv", package = "OpenABMCovid19")

param_line_number

Which column of the input param file to read.

output_file_dir

Where to write output files to.

input_households

Household demographics file. Optional, default: system.file("default_params", "baseline_household_demographics.csv", package = "OpenABMCovid19")

hospital_input_param_file

Hospital input parameters CSV file path. Optional, default: system.file("default_params", "hospital_baseline_parameters.csv", package = "OpenABMCovid19")

hospital_param_line_number

Which column of the hospital input param file to read.

read_param_file

A boolean. If TRUE, read input_param_file. If FALSE, ignore input_param_file.

read_hospital_param_file

A boolean. If TRUE, read hospital_input_param_file. If FALSE, ignore hospital_input_param_file.

Value

Parameters object (R6 Class)

See Also

Online Documentation.


OpenABMCovid19 documentation built on July 20, 2021, 5:08 p.m.