calc_spec_diff: Calculate the sum of squares differences between two mrs_data objects.
Description
Calculate the sum of squares differences between two mrs_data objects.
Usage
calc_spec_diff(mrs_data, ref = NULL, xlim = c(4, 0.5))
Value
an array of the sum of squared difference values.
Arguments
- mrs_data
mrs_data object.
- ref
reference mrs_data object to calculate differences.
- xlim
spectral limits to perform calculation.