setLabels.Rd
Ensure that hyperSpec and non hyperSpec objects have the correct labels
setLabels(.data, ...)
setLabels_transmute(.data, ...)
setLabels_select(.data, res)
setLabels_rename(.data, res)
hyperSpec object
list of columns to update on
resulting data frame
Object with the correct labels
flu %>%
setLabels(.wavelength = "f / THz", c = "c / ml")
#> hyperSpec object
#> 6 spectra
#> 3 data columns
#> 181 data points / spectrum