process_jcamp: Process imported JCAMP data

Description Usage Arguments Value

Description

Converts string key-value pairs from parsed JCAMP file into numeric and matrix formats where applicable.

Usage

1
process_jcamp(jcamp_list, tags = TRUE, entries = TRUE, ...)

Arguments

jcamp_list

The output of read_jcamp().

tags

TRUE to convert entry tags. All tags are converted to lowercase with dots replacing spaces. Some tags known to take multiple forms ('JCAMPDX' vs. 'JCAMP-DX') are converted to a single fixed form (full list to come).

entries

TRUE to convert entries using a system of ad-hoc rules. All entries designated with '<>' are converted to strings. All other entries are converted to numeric if possible. Lists and tables are converted to matrices if possible.

...

Extra arguments passed into process_jcamp_tag().

Value

...


ssokolen/rnmrfit documentation built on May 23, 2019, 1:48 p.m.