rez_group_by | R Documentation |
A replacement for dplyr::group_by()
and dplyr::ungroup()
.
rez_group_by(df, ...)
rez_ungroup(df, ...)
df |
The data frame to be modified. |
... |
Arguments to be passed to group_by / ungroup, including the field(s) on which you're grouping. |
The grouped / ungrouped rezrDF.
There is no replacement for dplyr::summarise()
. Currently there are no plans for a rezonateR
equivalent of dplyr::summarise()
, but please feel free to describe a use case in a GitHub issue if you would like.
sbc007$tokenDF = sbc007$tokenDF %>%
rez_group_by(unit) %>% rez_mutate(unitLength = inLength(text, isWord = (kind == "Word"))) %>% rez_ungroup
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.