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.
Addresses #175. Currently blocked by #247 (uses simulation in examples, for convenience).
[ ] Function name? I'm still slightly confused on the whole method/generic thing in this case. Ideally it'd be stitch.rspec().
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.
stitch.rspec()
.