getAndCheckTrainData: Get and Check Train Data

Description Usage Arguments Value

View source: R/getTrainTestObjFun.R

Description

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

Usage

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


babsim.hospital documentation built on Nov. 11, 2021, 1:06 a.m.