calibration_data function

Get observed data for the calibration of a model

Get observed data for the calibration of a model

Create a list with the observed data with the information provided by its main argument.

calibration_data(setup, path = ".", file = NULL, verbose = TRUE, ...)

Arguments

  • setup: A data.frame with the information about the calibration, normally created with the calibration_setup function. See details.
  • path: Path to the directory to look up for the data. Paths in setup are considered relatives to this path.
  • file: Optional file to save the created object (as an 'rds' file.)
  • verbose: If TRUE, detailed messages of the process are printed.
  • ...: Additional arguments to read.csv function to read the data files.

Returns

A list with the observed data needed for a calibration, to be used in combination with the calibration_objFn.

See Also

calibration_objFn, calibration_setup.

Author(s)

Ricardo Oliveros-Ramos

  • Maintainer: Ricardo Oliveros-Ramos
  • License: GPL-2
  • Last published: 2024-02-14