This is an alternate interface to crunch::crtabs()
that, in addition to
being "tidy", makes it easier to query multiple measures at the same time.
# S3 method for CrunchDataset summarise(.data, ...)
.data | A |
---|---|
... | named aggregations to include in the resulting table. |
A tbl_crunch_cube
or cr_tibble
of results. This subclass
of tibble
allows ggplot2::autoplot
to work, but can get in the way
in some tidyverse operations. You may wish to convert to a tibble using
as_tibble()
.
Note that while mutate()
is not generally supported in crplyr
, you can
derive expressions on the fly in summarize()
.