View source: R/aggregate.hyperframe.R
| aggregate.hyperframe | R Documentation |
To aggregate a hyperframe.
## S3 method for class 'hyperframe'
aggregate(x, by, ...)
x |
hyperframe |
by |
two-sided formula,
whose right-hand-side contains only the regular-column names of the input |
... |
additional parameters of the function aggregate.data.frame,
except for |
The S3 method aggregate.hyperframe() returns a hyperframe.
spatstat.data::demohyper |>
aggregate(by = . ~ Group, FUN = unique)
spatstat.data::flu |>
aggregate(by = . - frameid ~ virustype:stain, FUN = unique)
spatstat.data::osteo |>
aggregate(by = . - brick ~ shortid, FUN = unique)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.