calc_spec_diff: Calculate the sum of squares differences between two mrs_data...

View source: R/mrs_data_proc.R

calc_spec_diffR Documentation

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

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.


spant documentation built on Sept. 11, 2024, 9:13 p.m.