| group_by | R Documentation |
ir objects by one or more variablesGroup rows in ir objects by one or more variables
group_by.ir( .data, ..., .add = FALSE, .drop = dplyr::group_by_drop_default(.data) ) ungroup.ir(.data, ...)
.data |
An object of class |
... |
In |
.add |
When This argument was previously called |
.drop |
Drop groups formed by factor levels that don't appear in the
data? The default is |
.data with grouped rows (group_by.ir()) or ungrouped rows
(ungroup.ir()).
dplyr::group_by()
Other tidyverse:
arrange.ir(),
distinct.ir(),
extract.ir(),
filter-joins,
filter.ir(),
mutate-joins,
mutate,
nest,
pivot_longer.ir(),
pivot_wider.ir(),
rename,
rowwise.ir(),
select.ir(),
separate.ir(),
separate_rows.ir(),
slice,
summarize,
unite.ir()
## group_by dplyr::group_by(ir_sample_data, sample_type) ## ungroup dplyr::ungroup(dplyr::group_by(ir_sample_data, sample_type))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.