Learn R Programming

photobiology (version 0.11.3)

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"),
  ...
)

Value

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

Arguments

x

a generic_spct object.

which

character vector Names of attributes to retrieve.

...

currently ignored

See Also

Other measurement metadata functions: add_attr2tb(), getFilterProperties(), getHowMeasured(), getInstrDesc(), getInstrSettings(), getSoluteProperties(), getWhatMeasured(), getWhenMeasured(), getWhereMeasured(), get_attributes(), isValidInstrDesc(), isValidInstrSettings(), select_spct_attributes(), setFilterProperties(), setHowMeasured(), setInstrDesc(), setInstrSettings(), setSoluteProperties(), setWhatMeasured(), setWhenMeasured(), setWhereMeasured(), spct_metadata(), subset_attributes(), trimInstrDesc(), trimInstrSettings()