Description Usage Arguments Examples
This function performs the LC fitting of the input sample/samples. It outputs the fitting results with the R-Factors as fitting statistics.
1 2 |
sample |
The sample spectrum |
standards |
The standards spectra |
LC.vals |
Values for ranges of linear combination fitting, with respect to the edge-step |
float |
Set float parameters, defaults to NULL |
E.zero |
Set E0, defaults to NULL |
ex.smaller |
Set value to exclude small portions (as portion of 1), defaults to NULL |
1 2 3 4 5 6 7 8 9 10 | data(stdmix)
corr.spec.standards <- initial_load(specdat[1:4],
corr.norm = c(-36, -15, 37, 58))
corr.spec.samples <- initial_load(specdat[5:8],
corr.norm = c(-36, -15, 37, 58))
fit.standards <- std_df(sample = corr.spec.samples[[1]],
all.standards = corr.spec.standards)
fit.result <- LC_fit(sample = corr.spec.samples[[1]],
standards = fit.standards, LC.vals = c(-14, 46))
print(fit.result)
|
AlPO4 FePO4 HydAp IHP R.fac
1 0.2319872 0.3776037 0.3534028 0.03700625 0.0001531837
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.