Description Usage Arguments Value See Also Examples
This is the mainstay of parallel computation for a data frame. This will execute the specified expression within each group. Each group will have a persistent environment, so that variables created in that environment can be referred to by, for example, later calls to summarise. This environment contains active bindings to the columns of that data frame.
1 | within_group(.self, expr)
|
.self |
Data frame |
expr |
Code to execute |
Data frame
Other data manipulations: mutate
,
nsa
, reduce
,
summarise
, transmute
,
within_node
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.