Learn R Programming

colorSpec (version 0.5-2)

bind: Combine colorSpec Objects

Description

Take a sequence of colorSpec objects and combine their spectra - if they all have the same wavelength and quantity

Usage

## S3 method for class 'colorSpec':
bind( \ldots )

Arguments

...
colorSpec objects with the same wavelength and quantity

Value

  • bind returns a colorSpec object, or NULL in case of ERROR. If the bind is successful, the number of spectra in the output object is the sum of the number of spectra in the input objects.

Details

The organization of the returned object is the most complex of those in the input list, where the order of complexity is: 'matrix' < 'df.col' < 'df.row' If the selected organization is 'df.row' the extradata is combined using merge. The metadata of the returned object is copied from the first object in the input list.

See Also

wavelength, quantity, organization, extradata, metadata