inputs: Inputs and outputs - adding file-based inputs and saving files
Description
These functions are one of two mechanisms to add the information
about which input files to load into a spades and the information
about which output files to save.
The other way is to pass them as arguments to a simInit function call.
inputArgs and outputArgs are ways to specify any
arguments that are needed for file loading and file saving. This
is still somewhat experimental.Usage
inputs(object)
## S3 method for class 'simList':
inputs(object)
inputs(object) <- value
## S3 method for class 'simList':
inputs(object) <- value
outputs(object)
## S3 method for class 'simList':
outputs(object)
outputs(object) <- value
## S3 method for class 'simList':
outputs(object) <- value
inputArgs(object)
## S3 method for class 'simList':
inputArgs(object)
inputArgs(object) <- value
## S3 method for class 'simList':
inputArgs(object) <- value
outputArgs(object)
## S3 method for class 'simList':
outputArgs(object)
outputArgs(object) <- value
## S3 method for class 'simList':
outputArgs(object) <- value
Arguments
object
A simList simulation object.
value
The object to be stored at the slot.
Details
inputs accepts a data.frame, with 6 columns. Currently, only one is required.
Columns are objectName (required, character),
file (character), fun (character),
package (character),
interval (numeric), and loadTime (numeric). See ii-modules vignette for details on
these columns.
outputs accepts a data.frame, with 5 columns. Currently,
only one is required.
Columns are objectName (character, required),
file (character), fun (character),
package (character), and saveTime (numeric). See ii-modules vignette for details on
these columns.See Also
ii-modules vignette