read.jdx | R Documentation |
this is a first rough import function for JCAMP-DX spectra.
read.jdx(
filename = stop("filename is needed"),
encoding = "",
header = list(),
keys.hdr2data = FALSE,
...,
NA.symbols = c("NA", "N/A", "N.A."),
collapse.multi = TRUE,
wl.tolerance = hy.getOption("wl.tolerance"),
collapse.equal = TRUE
)
filename |
file name and path of the .jdx file | ||||||||||
encoding |
encoding of the JCAMP-DX file (used by | ||||||||||
header |
list with manually set header values | ||||||||||
keys.hdr2data |
index vector indicating which header entries should be tranfered into the
extra data. Usually a character vector of labels (lowercase, without and dashes, blanks,
underscores). If | ||||||||||
... |
further parameters handed to the data import function, e.g.
| ||||||||||
NA.symbols |
character vector of text values that should be converted to | ||||||||||
collapse.multi |
should hyperSpec objects from multispectra files be collapsed into one
hyperSpec object (if | ||||||||||
wl.tolerance , collapse.equal |
see collapse |
So far, AFFN and PAC formats are supported for simple XYDATA, DATA TABLEs and PEAK TABLEs.
NTUPLES / PAGES are not (yet) supported.
DIF, DUF, DIFDUP and SQZ data formats are not (yet) supported.
hyperSpec object
JCAMP-DX support is incomplete and the functions may change without notice. See
vignette ("fileio")
and the details section.
C. Beleites with contributions by Bryan Hanson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.