What about to measure soy meal in a transmittance instrument like Infratec?. Infratec has a smaller range, but this range (850 to 1050 nm) penetrate most into the sample, so we can measure in transmittance with a certain path length to avoid saturation. With this purpose, a certain number of samples with known reference value for the parameters was analyzed in the instrument, putting the soy meal unground and directly into the conveyor.
Spectra of the samples was export in a spectra file and lab values added.
Spectra file was export into R software as raw spectra, and a multiple scatter correction was added.
#Multiple Scatter Correction
#We can check in wich areas is the variation of the data.
#We can see the variation at every wavelength with a boxplot.