Description Usage Arguments Details
Aggregate the input table using the specified aggregation function, using the specified columns as keys.
1 |
tbl |
Table to aggregate |
aggfn |
String giving the aggregation function. If missing, use
|
aggkeys |
String giving a list of aggregation keys. If missing, return the table unmodified. |
multiple |
If |
The multiple
argument is used for cases where we need to perform the
same aggregation on multiple values. Usually this occurs when we have joined
two tables, so for now the aggregation operates only on columns matching the
regular expression 'value'
, which would catch the 'value.x'
and
'value.y'
created by a join. In future versions we may allow
specifying arbitrary columns, but until we are fully upgraded to dplyr 0.7
that is too much of a hassle.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.