Calculate the sum of squares differences between two mrs_data objects.

calc_spec_diff(mrs_data, ref = NULL, xlim = c(4, 0.5))

Arguments

mrs_data

mrs_data object.

ref

reference mrs_data object to calculate differences.

xlim

spectral limits to perform calculation.

Value

an array of the sum of squared difference values.