R/mrs_data_proc.R
calc_spec_diff.Rd
Calculate the sum of squares differences between two mrs_data objects.
calc_spec_diff(mrs_data, ref = NULL, xlim = c(4, 0.5))
mrs_data | mrs_data object. |
---|---|
ref | reference mrs_data object to calculate differences. |
xlim | spectral limits to perform calculation. |
an array of the sum of squared difference values.