Apply a function to a list of cfp_pfres pr cfp_fgres objects
stored in an cfp_altres object. This can be used to summarise
alternate() results.
Usage
cfp_altapply(X, FUN, ...)
Arguments
- X
Either a cfp_altres object or a list.
- FUN
the function to be applied to each element of X
:
see ‘Details’. In the case of functions like
+
, %*%
, the function name must be backquoted or quoted.
- ...
optional arguments to FUN
.
Value
data.frame with the results of FUN bound together with added
column run_id as identifier of the original list elements.