powered by
This function loads, integrates and calculates the functional group distribution from the raw spectra. Produces also the molecular mixing model fitting if NC data is provided. Output is a list with the raw data, integrals and corrected spectra.
region_calc( batch_nmr = NULL, file = NULL, NMRmeth = NULL, FixNC, NMR_field = NULL, NMR_rotation = NULL, ecosys = NULL, cndata = NULL, mod_std = NULL )
A data frame that contains the SSBs corrected C functional groups, or if the "MMM" method is selected, the result of the fitting of the "MMM".
Vector with file names, default
The raw file
Regions to be integrated, methods available include: "4region", "Bonanomi", "Smernik" and Molecular mixing model ("MMM").
TRUE or FALSE, for fixing or not the NC ratio on the sample fitting.
Magnetic field of the NMR
Rotation frequency of the sample probe in the NMR
Standards to be used for the MMM, can be Terrestrial("Terr_Nelson" or "Terr_Baldock") or Aquatic ("Aqua_Nelson" or "Aqua_Baldock")
The N:C data file created with mk_nc_data
File containing a modified NMR table
data("GarciaF200") IntegralSSBc <- region_calc(GarciaF200, NMRmeth = "4region", NMR_field = 200, NMR_rotation = 6800)
Run the code above in your browser using DataLab