reframe | R Documentation |
Reframe a data frame. Note this is a simple alias for summarize()
that always returns an ungrouped tidytable.
reframe(.df, ..., .by = NULL)
.df |
A data.frame or data.table |
... |
Aggregations to perform |
.by |
Columns to group by |
mtcars %>%
reframe(qs = quantile(disp, c(0.25, 0.75)),
prob = c(0.25, 0.75),
.by = cyl)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.