ProcessingStep {Spectra} | R Documentation |
Class containing the function and arguments to be applied in a lazy-execution framework.
Objects of this class are created using the ProcessingStep()
function. The
processing step is executed with the executeProcessingStep()
function.
ProcessingStep(FUN = character(), ARGS = list()) executeProcessingStep(object, ...)
FUN |
|
ARGS |
|
object |
|
... |
optional additional arguments to be passed along. |
This object contains all relevant information of a data analysis processing
step, i.e. the function and all of its arguments to be applied to the data.
This object is mainly used to record possible processing steps of a
Spectra()
object.
The ProcessingStep
function returns and object of type
ProcessingStep
.
Johannes Rainer
## Create a simple processing step object ps <- ProcessingStep(sum) executeProcessingStep(ps, 1:10)