process_jcamp_tag: Process JCAMP tag

Description Usage Arguments Value

Description

Processes a JCAMP tag into standard form. This consists of selecting a case conversion function, such as tolower(), as well as a map of specfic conversions to make. Note, case conversions are applied after the mapped conversions.

Usage

1
2
process_jcamp_tag(jcamp.tag, f_case = tolower, tag.space = ".",
  tag.map = NA)

Arguments

jcamp.tag

Single character string corresponding to list names from the output of read_jcamp().

f_case

The function used to perform the case conversion, e.g. tolower().

tag.space

A string used to replace empty spaces and underscores.

tag.map

A vector of strings corresponding to new tags, where the vector names correspond to the tags that will be renamed. NULL avoids map conversions while NA uses the default conversions below:

Value

A renamed character string.


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