Description Value Generic function Method arguments Author(s) See Also Examples
Return an FLQuant
or FLCohort
obtained from an input object by
sweeping out a summary statistic along the selected dimensions.
An FLQuant or FLCohort with the same shape as x
, but with the summary
statistics swept out.
sweep(x, MARGIN, STATS, FUN="-", check.margin=TRUE, ...)
an FLQuant or FLCohort object.
a vector of indices giving the extents of x
which correspond to STATS
.
the summary statistic which is to be swept out.
the function to be used to carry out the sweep. In the
case of binary operators such as "/"
etc., the function name
must backquoted or quoted. (FUN
is found by a call to
match.fun
.)
logical. If TRUE
(the default), warn if the
length or dimensions of STATS
do not match the specified
dimensions of x
. Set to FALSE
for a small speed gain
when you know that dimensions match.
optional arguments to FUN
.
The FLR Team
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.