getAndCheckTrainData {babsim.hospital}R Documentation

Get and Check Train Data

Description

Generate and check train data (start and end dates) from field and simulation data.

Usage

getAndCheckTrainData(
  simData,
  fieldData,
  tryOnTestSet = FALSE,
  TrainFieldStartDate,
  TestFieldStartDate,
  verbosity = 0
)

Arguments

simData

simulation data, i.e., data used for the simulator, e.g. infections.

fieldData

field data, i.e., real-world data.

tryOnTestSet

logical, default FALSE.

TrainFieldStartDate

Start date of the train data set.

TestFieldStartDate

Start date of the test data set.

verbosity

Default 0. Only needed if tryOnTestSet is TRUE.

Value

traindata, i.e., list of sim data and field data, checked train data set


[Package babsim.hospital version 11.8.4 Index]