Description Usage Arguments Value Examples
add()
is wrapper function of gmutate()
and gsummarize()
.
gmutate()
adds aggregated metrics as variables to the given data frame.
gsummarize()
aggregates metrics from the given data frame.
gsummarize()
and gsummarise()
are synonyms.
1 2 3 4 5 6 7 |
df |
Data frame. |
... |
Variables to group by. |
metrics |
Metrics defined by |
summarize |
Summarization flag. If it is |
Data frame with calculated metrics
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.