Description Generic function Method arguments Methods Author(s) See Also Examples
Functions can be applied to margins of an FLQuant array using this method. In contrast with the standard method, dimensions are not collapsed in the output object.
FUN
in the case of an FLQuant
must collapse at least one dimension when
applied over an array.
For further details see apply.
apply(X,MARGIN,FUN)
X
:an object of a class for which this method has been defined.
MARGIN
:a vector giving the subscripts which the function will be applied over. 1 indicates rows, 2 indicates columns, c(1,2) indicates rows and columns, etc.
FUN
:the function to be applied.
...
:optional arguments to FUN.
New S4 generic based on base::apply
apply a given function over the
selected dimensions of an FLQuant
. Returns an object of class
FLQuant
.
The FLR Team
apply
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.