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))
Arguments
ref
reference mrs_data object to calculate differences.
xlim
spectral limits to perform calculation.
Value
an array of the sum of squared difference values.