parameters: Set analysis parameters

Description Usage Arguments Value Examples

View source: R/loaders.R

Description

loads analysis parameters from a data file or return default values

Usage

1
2
3
4
5
6
7
8
parameters(
  filename = "./input/params.csv",
  schema = c("d", "e", "FL_d", "FX_h", "AlphaParameter", "Anzahl.unmoeglich.max",
    "Anzahl.leer.wdh.max", "Anzahl.leer.gesamt.max", "Anzahl.Wertwdh.Null.max",
    "Anzahl.Wertwdh.Wert.max", "Anzahl.unmoeglich.hist.max", "Anzahl.leer.wdh.hist.max",
    "Anzahl.leer.gesamt.hist.max", "Anzahl.Wertwdh.Null.hist.max",
    "Anzahl.Wertwdh.Wert.hist.max", "Anzahl.Wertwdh.Wert.tol.hist.max")
)

Arguments

filename

an optional paramneter, the filename on disk containing the data. If missing, the default values are loaded

schema

- an optional parameters holding the data schema. The current default value corresponds to the actual processing code

Value

the in-memory object containg the data

Examples

1
2
parameters  <- parameters()
parameters <- parameters(filename = file.path("tests/input/params.csv"))

BTU-EnerEcon/FOCCSI documentation built on Dec. 17, 2021, 9:52 a.m.