powered by
drm
Fit absorbance data to exponential curve. drm is used for the fitting process.
abs_fit_slope( wl, abs, lim, l_ref = 350, control = drmc(errorm = FALSE, noMessage = TRUE), ... )
numeric exponential slope coefficient
vector containing wavelengths
vector containing absorption in m^-1
vector containing lower and upper limits for wavelengths to use
numerical. reference wavelength, default is 350, if set to NA l_ref is fitted
control parameters for drm, see drmc
drmc
parameters that are passed on to drm
data(absorbance) abs_fit_slope(absorbance$wavelength,absorbance$sample1,lim=c(350,400),l_ref=350)
Run the code above in your browser using DataLab