.getFwhm | R Documentation |
A method to compute the fwhm for the peaks of a given spectrum.
.getFwhm(spectrum, peaks)
spectrum: |
a spectrum of |
peaks: |
a centroided spectrum of |
Returns a named vector of fwhm values with the same length as the number of peaks within the spectrum.
Adopted from https://gist.github.com/sgibb/3914291.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.