Ensure that hyperSpec and non hyperSpec objects have the correct labels

setLabels(.data, ...)

setLabels_transmute(.data, ...)

setLabels_select(.data, res)

setLabels_rename(.data, res)

Arguments

.data

hyperSpec object

...

list of columns to update on

res

resulting data frame

Value

Object with the correct labels

Examples

flu %>%
  setLabels(.wavelength = "f / THz", c = "c / ml")
#> hyperSpec object
#>    6 spectra
#>    3 data columns
#>    181 data points / spectrum