| select.ir {ir} | R Documentation |
Subset columns in ir objects using column names and types
Description
Subset columns in ir objects using column names and types
Usage
select.ir(.data, ...)
Arguments
.data |
An object of class |
... |
< |
Value
.data with the selected columns. If the spectra column is dropped,
the ir class is dropped, else the object is of class ir.
Source
See Also
Other tidyverse:
arrange.ir(),
distinct.ir(),
extract.ir(),
filter-joins,
filter.ir(),
group_by,
mutate-joins,
mutate,
nest,
pivot_longer.ir(),
pivot_wider.ir(),
rename,
rowwise.ir(),
separate.ir(),
separate_rows.ir(),
slice,
summarize,
unite.ir()
Examples
## select
dplyr::select(ir_sample_data, spectra)
dplyr::select(ir_sample_data, holocellulose) # drops ir class
[Package ir version 0.2.1 Index]