Define a parametric or numeric model

DefineModel(
  modelClass,
  processData,
  UseProcessData = FALSE,
  DefinitionMethod = c("Table", "ResourceFile"),
  ModelName,
  ParameterTable = data.table::data.table(),
  FileName = character()
)

Arguments

modelClass

The model class, such as Regression.

processData

The current data produced by a previous instance of the function.

UseProcessData

Logical: If TRUE use the existing function output in the process.

DefinitionMethod

Character: A string naming the method to use, one of "Table" to define a table directly (in the GUI), and ResourceFile to read a file.

ModelName

The model to use.

ParameterTable

A table holding the parameter values.

FileName

A file from which to read the ParameterTable.