View source: R/functions-Params.R
| GenericParam-class | R Documentation |
The GenericParam class allows to store generic parameter
information such as the name of the function that was/has to be called
(slot fun) and its arguments (slot args). This object is
used to track the process history of the data processings of an
XCMSnExp object. This is in contrast to e.g. the
CentWaveParam object that is passed to the actual
processing method.
GenericParam(fun = character(), args = list())
## S4 method for signature 'GenericParam'
show(object)
fun |
|
args |
|
object |
|
The GenericParam function returns a GenericParam
object.
funcharacter specifying the function name.
argslist (ideally named) with the arguments to the
function.
.__classVersion__the version of the class.
Johannes Rainer
processHistory for how to access the process history
of an XCMSnExp object.
prm <- GenericParam(fun = "mean")
prm <- GenericParam(fun = "mean", args = list(na.rm = TRUE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.