| mutate | R Documentation | 
ir object by adding new or replacing existing columnsMutate an ir object by adding new or replacing existing columns
mutate.ir(
  .data,
  ...,
  .keep = c("all", "used", "unused", "none"),
  .before = NULL,
  .after = NULL
)
transmute.ir(.data, ...)
.data with modified columns. If the spectra column is dropped or
invalidated (see ir_new_ir()), the ir class is dropped, else the object
is of class ir.
dplyr::mutate()
Other tidyverse: 
arrange.ir(),
distinct.ir(),
extract.ir(),
filter-joins,
filter.ir(),
group_by,
mutate-joins,
nest,
pivot_longer.ir(),
pivot_wider.ir(),
rename,
rowwise.ir(),
select.ir(),
separate.ir(),
separate_rows.ir(),
slice,
summarize,
unite.ir()
## mutate dplyr::mutate(ir_sample_data, hkl = klason_lignin + holocellulose) ## transmute dplyr::transmute(ir_sample_data, hkl = klason_lignin + holocellulose)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.