rmaia / pavo

tools for the analysis of color data in R
http://pavo.colrverse.com
GNU General Public License v2.0
69 stars 17 forks source link

Stitch rspec #248

Closed thomased closed 1 year ago

thomased commented 1 year ago

Function for stitching (row-merging) rspec objects of differing wavelength ranges. It has functionality for handling specs with partly-overlapping wl regions (averaging, min, max), as well as non-overlapping wl regions (via interpolation). Can handle rspec objects when the spec names match in each but are in a different order, or when they contain only some common samples (with the other being NA filled for the relevant wl region). Edit: whoops, didn't realise it'd contain the entire commit history for #247 too.