ERTMonExport: Export processed data into CSV files.

Description Usage Arguments Details Value

View source: R/ERTMon.R

Description

Exports the computation specification, the feature matrix, and time grid cells interpretation into CSV files.

Usage

1
2
3
4
5
6
7
ERTMonExport(
  ertObj,
  directoryName,
  modelID,
  fileNamePrefix = paste0(modelID, "-"),
  origin = "1900-01-01"
)

Arguments

ertObj

An ERTMon object.

directoryName

A directory name for the export. If NULL no files are written.

modelID

A string.

fileNamePrefix

A string.

origin

A date-time object or something that can be coerced to such object, that can be used in as.POSIXct. It is passed to ERTMonTakeTimeSeriesDataFrame.

Details

The CSV files are written in the specified directory directoryName. The file name prefix fileNamePrefix is concatenated to the generic file names: "longFormComputationSpecification.csv", "featureMatrix.csv", "timeCellsInterpretation.csv", "featureMatrixTimeSeries.csv". The conversion into long form of the computation specification is considered to be more convenient from a "model management" perspective. The data to be exported is assigned to result's $Value.

Value

An ERTMon object or ERTMonFailureSymbol.


antononcube/ERTMon-R documentation built on Oct. 14, 2021, 2:27 p.m.