binin | R Documentation |
Spectral data binning
binin(X, ppm, width = NULL, npoints = NULL)
X |
num matrix, NMR data with spectra in rows |
ppm |
num array, chemical shift positions, length matches to columns in |
width |
num, bin size in ppm or NULL in case |
npoints |
num, desired number of bins per spectrum or NULL in case |
Equidistant binning of spectra. Specify either width
or npoints
argument - if both are provided, npoints
is used. Input argument ppm
can be omitted if chemical shift information is encoded in the column names of the NMR matrix X
.
Numeric matrix with spectra in rows and chemical shift variables in columns.
Torben Kimhofer torben.kimhofer@murdoch.edu.au
Other Data_Manipulation:
flip()
data(X, ppm) Xb <- binin(X, ppm, width = 0.01)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.