importTableOfDifferences: (Calibration Performance) Import and combine tables of...

Description Usage Arguments Value Examples

Description

(Calibration Performance) Import and combine tables of differences from csv files.

Usage

1
2
importTableOfDifferences(ranking.method, pm.type.vec = c("mpe", "mape"),
  data.type = "escapement+terminalrun", results.path = ".")

Arguments

ranking.method

A character defining the ranking method to apply. The method can be either 'ordinal' or 'interpolated', or both.

pm.type.vec

A character vector of performance measures to evaluate.

data.type

See Details

results.path

A character vector of length one. The absolute path or path relative to the working directory where a new directory named "results" will be written (if not already present). All output files will be written here. Default is the current working directory.

Value

A data frame in long format, that is combination of all csv files.

Examples

1
2
3
4
5
6
7
8
## Not run: 
# this relies on the csv files that are written by writeTableOfDifferences() above
tableofdifferences <- importTableOfDifferences(ranking.method = model.list$ranking.method,
 pm.type.vec =  c('mape', 'mpe'),
 data.type = model.list$models$group1$data.type,
 results.path = model.list$results.path)

## End(Not run)

MichaelFolkes/ctctools documentation built on May 7, 2019, 4:56 p.m.