This function utilises an array of dilution coefficients acquired externally to normalise the spectra.

xfNorm(X, xfactor)

Arguments

X

A numerical matrix with rows being the spectra and columns being the chemical shift variables

xfactor

A numerical array of values that correspond to the dilution coefficients of the spectra. Must be row-matched to the provided X matrix.

Value

This function returns a list with:

  1. The normalised X matrix in the first list element, and

  2. A numerical array of the corresponding dilution factors in the second.

  • Following the example below will extract the results quickly and easily.

Details

xfNorm() works by dividing all values within a spectrum by the value of its external factor.

See also

https://doi.org/10.1021/ac051632c

Other Reference-Based: hmNorm(), pqNorm(), q2Norm()

Author

kylebario1@gmail.com

Examples

data(X, osmo) xfNorm(X, osmo)
#> Normalising X... Done. #>