Description Generic function Methods Author(s) See Also Examples
Returns a list
or FLlst
containing values obtained by
applying a function to margins for each FLQuant in a composite FLR object.
qapply(X,FUN)
FUN
is typically a function name to be searched for from the environment
of the call to qapply
. Additional arguments to the function are specified
after the function name.
qapply
enables functions to be applied easily to all FLQuants
of
a composite object rather than repeating the code for each one separately.
In the example below the apply
function is nested inside qapply
to calculate averages across various dimensions for each FLQuant
in an
FLStock
object.
The FLR Team
FLComp apply
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.