photobiology (version 0.9.30)

spct_attr2tb: Copy attributes into a tibble

Description

Method returning attributes of an object of class generic_spct or derived, or of class waveband. Only attributes defined and/or set by package 'photobiology' for objects of the corresponding class are returned.

Usage

spct_attr2tb(
  x,
  which = c("-", "names", "row.names", "spct.tags", "spct.version", "comment"),
  ...
)

Arguments

x

a generic_spct object.

which

character vector Names of attributes to retrieve.

...

currently ignored

Value

A tibble with the values stored in the attributes whose names were selected through the argument to which if present in x.

See Also

Other measurement metadata functions: getHowMeasured(), getInstrDesc(), getInstrSettings(), getWhatMeasured(), getWhenMeasured(), getWhereMeasured(), get_attributes(), isValidInstrDesc(), isValidInstrSettings(), select_spct_attributes(), setHowMeasured(), setInstrDesc(), setInstrSettings(), setWhatMeasured(), setWhenMeasured(), setWhereMeasured(), trimInstrDesc(), trimInstrSettings()