getAndCheckTrainData: Get and Check Train Data

View source: R/getTrainTestObjFun.R

getAndCheckTrainDataR 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


babsim.hospital documentation built on May 30, 2022, 9:05 a.m.